Skip to content

Commit

Permalink
Merge pull request #307 from cybozu/add-user-setting
Browse files Browse the repository at this point in the history
Add an user setting to ubuntu-debug
  • Loading branch information
cupnes committed Sep 12, 2024
2 parents db6cafb + a40654b commit 48fe128
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 20.04/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.04.20240912
20.04.20240912.1
3 changes: 3 additions & 0 deletions 20.04/ubuntu-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ RUN setcap -r /usr/bin/ping
COPY --from=builder /go/bin/grpcurl /usr/local/bin
COPY --from=builder /go/src/github.com/fullstorydev/grpcurl/LICENSE /usr/local/grpcurl/LICENSE

RUN adduser --disabled-password --gecos "" --uid 10000 cybozu
USER cybozu

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion 22.04/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.04.20240912
22.04.20240912.1
3 changes: 3 additions & 0 deletions 22.04/ubuntu-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ RUN setcap -r /usr/bin/ping
COPY --from=builder /go/bin/grpcurl /usr/local/bin
COPY --from=builder /go/src/github.com/fullstorydev/grpcurl/LICENSE /usr/local/grpcurl/LICENSE

RUN adduser --disabled-password --gecos "" --uid 10000 cybozu
USER cybozu

CMD ["/bin/bash"]

0 comments on commit 48fe128

Please sign in to comment.