diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -1,11 +1,10 @@ -FROM python:3-slim-buster +FROM python:3-slim-bullseye -ENV LANG en_US.UTF-8 -ENV LC_ALL en_US.UTF-8 +RUN apt-get update -y; \ + apt-get install -y git make sshpass; -COPY . /ansible -WORKDIR /ansible - -RUN apt update -y; \ - apt install -y git make sshpass; \ - make install; +RUN adduser -u 1000 ansible +USER ansible +WORKDIR /home/ansible/vps +COPY . . +RUN make install; |
