Skip to content

Commit 1504874

Browse files
CCM-15866: Address Sonar Findings - Revert Better Perms in Jekyll Container
1 parent 2aef3df commit 1504874

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

  • src/jekyll-devcontainer/src/.devcontainer

src/jekyll-devcontainer/src/.devcontainer/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,4 @@ LABEL org.opencontainers.image.source=https://github.com/NHSDigital/nhs-notify-r
33

44
COPY packages.txt packages.txt
55

6-
USER root
7-
RUN apt-get update \
8-
&& xargs apt-get -y install --no-install-recommends < packages.txt \
9-
&& apt-get clean \
10-
&& rm -rf /var/lib/apt/lists/*
11-
12-
# Run the container as a non-root user by default.
13-
USER vscode
6+
RUN apt-get update && xargs apt-get -y install < packages.txt

0 commit comments

Comments
 (0)