-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (29 loc) · 695 Bytes
/
Dockerfile
File metadata and controls
33 lines (29 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM docker:latest
ARG PUID=1000
RUN apk add --no-cache \
bash \
curl \
wget \
jq \
git \
make \
rsync \
python3 \
py3-pip \
libffi-dev \
openssl-dev \
openssh-client \
&& python3 -m venv /opt/venv \
&& /opt/venv/bin/pip install --upgrade pip \
&& /opt/venv/bin/pip install --quiet \
boto3 \
awscli \
&& adduser -D -u ${PUID} -G ping -h /home/nonroot nonroot
ENV PATH="/opt/venv/bin:$PATH"
CMD [ "dockerd" ]
RUN docker --version \
&& docker buildx version \
&& docker-compose --version \
&& docker compose version \
&& aws --version
USER nonroot