This commit is contained in:
parent
f2d9d176d5
commit
471f2d0bb4
44
Dockerfile
44
Dockerfile
@ -22,12 +22,44 @@ ENV DOCKER_USER=coder \
|
|||||||
HASHED_PASSWORD=undefined
|
HASHED_PASSWORD=undefined
|
||||||
|
|
||||||
# Base packages
|
# Base packages
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
RUN apt-get update -y && apt-get upgrade -y && apt-get install --no-install-recommends -y \
|
||||||
bash curl unzip gnupg net-tools tree bash-completion sudo \
|
bash \
|
||||||
default-jre jq python3 python3-pip python3-venv virtualenv \
|
bash-completion \
|
||||||
siege tar ca-certificates wget git dumb-init nodejs npm \
|
ca-certificates \
|
||||||
lsb-release iproute2 iptables uidmap dbus fuse3 xz-utils doas passwd \
|
curl \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
dbus \
|
||||||
|
default-jre \
|
||||||
|
doas \
|
||||||
|
dumb-init \
|
||||||
|
fuse3 \
|
||||||
|
git \
|
||||||
|
gnupg \
|
||||||
|
iproute2 \
|
||||||
|
iptables \
|
||||||
|
jq \
|
||||||
|
lsb-release \
|
||||||
|
nano \
|
||||||
|
net-tools \
|
||||||
|
nodejs \
|
||||||
|
npm \
|
||||||
|
passwd \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-venv \
|
||||||
|
siege \
|
||||||
|
sudo \
|
||||||
|
tar \
|
||||||
|
tree \
|
||||||
|
uidmap \
|
||||||
|
unzip \
|
||||||
|
virtualenv \
|
||||||
|
wget \
|
||||||
|
xz-utils && \
|
||||||
|
curl -fsSL https://aquasecurity.github.io/trivy-repo/deb/public.key | \
|
||||||
|
gpg --dearmor > /usr/share/keyrings/trivy.gpg && \
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" > /etc/apt/sources.list.d/trivy.list && \
|
||||||
|
apt-get update -y && apt-get install --no-install-recommends -y trivy && \
|
||||||
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
RUN curl -fsSL https://get.docker.com | sh && dockerd --version
|
RUN curl -fsSL https://get.docker.com | sh && dockerd --version
|
||||||
|
@ -6,6 +6,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
privileged: true # Required for DinD (Docker in Docker)
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
env_file:
|
env_file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user