Skip to content

Commit

Permalink
Install as root
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Oct 20, 2023
1 parent 569cd20 commit eb8d458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ FROM docker.io/library/python:3.11-slim-bullseye

RUN addgroup --system nonroot \
&& adduser --system nonroot --ingroup nonroot
USER nonroot

RUN apt-get update && \
apt-get install -y git && \
rm -rf /var/lib/apt/lists/*

USER nonroot

WORKDIR /app

RUN git clone -b master https://github.com/Clinical-Genomics/cg.git /app
Expand Down

0 comments on commit eb8d458

Please sign in to comment.