Skip to content

Commit

Permalink
change all to use fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamer3514 committed Jun 17, 2024
1 parent c2ae4bf commit 2456056
Show file tree
Hide file tree
Showing 99 changed files with 403 additions and 71 deletions.
4 changes: 4 additions & 0 deletions apps/uptimekuma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ RUN chmod +x /usr/bin/cloudflared
# install apprise
RUN pipx install apprise

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
## Setup user and working directory
RUN adduser -D -h /home/container container -s /bin/bash container
USER container
Expand Down
5 changes: 4 additions & 1 deletion bot/bastion/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ RUN apt update && apt install --no-install-recommends -y curl apt-transport-http
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \
## add container user
&& useradd -d /home/container -m container -s /bin/bash

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion bot/parkertron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ RUN apt update -y \
libtesseract-dev tesseract-ocr-eng \
# add container user to run application
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion bot/red/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ RUN pip install python-forecastio tweepy unidecode mcstatus bs4 sqlalc

RUN mkdir -p /home/container/.config/Red-DiscordBot/
RUN ln -s /home/container/.config/Red-DiscordBot/ /usr/local/share/Red-DiscordBot

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container
USER container
Expand Down
5 changes: 4 additions & 1 deletion bot/sinusbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ RUN apt update \

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion box64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt
&& wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \
&& apt update && apt install box64-rpi4arm64 -y


RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN useradd -d /home/container -m container
USER container
Expand Down
5 changes: 4 additions & 1 deletion bun/canary/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ RUN apt update \
&& useradd -m -d /home/container container

RUN bun upgrade

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion bun/latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ RUN apt update \
&& useradd -m -d /home/container container

RUN bun upgrade

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion cassandra/java11_python3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT

RUN apk add --update --no-cache python3 py3-tz ca-certificates curl fontconfig git openssl sqlite tar tzdata \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion cassandra/java8_python2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache python2 ca-certificates curl fontconfig git openssl sqlite tar tzdata \
&& python -m ensurepip --upgrade && pip install pytz \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dart/2.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dart/2.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dart/2.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dart/3.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dart/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/2.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN apt update -y \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/3.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ RUN apt update -y \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet


RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN apt update -y \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN apt update -y \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN apt update -y \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion dotnet/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN apt update -y \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion elixir/1.12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion elixir/1.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion elixir/1.14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion elixir/1.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion elixir/latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="[email protected]"
RUN apt update \
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
&& useradd -m -d /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
4 changes: 4 additions & 0 deletions erlang/22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion erlang/23/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT

RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2\
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion erlang/24/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT

RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion erlang/25/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT

RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 4 additions & 1 deletion erlang/26/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT

RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
4 changes: 4 additions & 0 deletions games/altv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-
RUN update-locale lang=en_US.UTF-8 \
&& dpkg-reconfigure --frontend noninteractive locales

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
4 changes: 4 additions & 0 deletions games/arma3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
ADD passwd.template /passwd.template

## Setup user and working directory
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
Expand Down
Loading

0 comments on commit 2456056

Please sign in to comment.