diff options
Diffstat (limited to 'worker/Dockerfile')
-rw-r--r-- | worker/Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/worker/Dockerfile b/worker/Dockerfile index e3a8f7b..ba6716f 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -1,17 +1,18 @@ FROM oci.liz.coffee/img/liz-ci:release as worker -RUN addgroup docker -RUN adduser -SDh /var/lib/laminar -g 'Laminar' -G users -G docker laminar +RUN groupadd docker +RUN useradd --system --home-dir /var/lib/laminar \ + --no-user-group --groups users,docker --uid 100 laminar # Secret retrieval -RUN apk add nodejs npm jq +RUN apt install -yqq npm RUN npm install -g @bitwarden/cli # Image building / publishing jobs -RUN apk add docker-cli +RUN apt install -yqq docker-cli # Ansible playbooks -RUN apk add ansible-core openssh +RUN apt install -yqq ansible-core openssh-client USER laminar WORKDIR /var/lib/laminar |