Skip to content

Commit e63b047

Browse files
committed
Dockerfile: install sudo
1 parent 8925442 commit e63b047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM debian:bullseye-slim AS base-with-deps
22
ARG USERNAME=vscode
3-
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl git
3+
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl git sudo
44
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
55
&& useradd -ms /bin/bash -G sudo $USERNAME
66
USER $USERNAME

0 commit comments

Comments
 (0)