Skip to content

Commit 3b26653

Browse files
authored
Switch user to root for package installation
Changed user from 'vscode' to 'root' for package installation and reverted back to 'vscode' afterwards.
1 parent 6cb25e2 commit 3b26653

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dockerfiles/ubuntu/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG UBUNTU_VERSION
22
FROM mcr.microsoft.com/devcontainers/base:ubuntu-${UBUNTU_VERSION}
33

4-
USER vscode
4+
USER root
55

66
RUN apt-get update && apt-get install -y \
77
build-essential \
@@ -14,3 +14,5 @@ RUN apt-get update && apt-get install -y \
1414
lsb-release \
1515
apt-transport-https \
1616
telnet
17+
18+
USER vscode

0 commit comments

Comments
 (0)