Skip to content

Commit 5339819

Browse files
committed
Change coder user in dockerfile to be system user
1 parent f5f6afc commit 5339819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ADD coder /opt/coder
1616

1717
# Create coder group and user.
1818
RUN addgroup -g 1000 coder && \
19-
adduser -D -g "" -h /home/coder -G coder -u 1000 coder
19+
adduser -D -g "" -h /home/coder -G coder -u 1000 -S -s /bin/sh coder
2020
USER coder:coder
2121

2222
ENTRYPOINT [ "/opt/coder", "server" ]

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coder
3-
description: Remote development environments on your infrastructure.
3+
description: Remote development environments on your infrastructure
44
home: https://github.com/coder/coder
55

66
# version and appVersion are injected at release and will always be shown as

0 commit comments

Comments
 (0)