summaryrefslogtreecommitdiff
path: root/worker/Dockerfile
blob: ba6716fcc367a466c914771c75f6a2755c004c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM oci.liz.coffee/img/liz-ci:release as worker

RUN groupadd docker
RUN useradd --system --home-dir /var/lib/laminar \
    --no-user-group --groups users,docker --uid 100 laminar

# Secret retrieval
RUN apt install -yqq npm
RUN npm install -g @bitwarden/cli

# Image building / publishing jobs
RUN apt install -yqq docker-cli

# Ansible playbooks
RUN apt install -yqq ansible-core openssh-client

USER laminar
WORKDIR /var/lib/laminar
EXPOSE 8080

CMD [ "/usr/sbin/laminard" ]