Skip to content

Commit 1c4a143

Browse files
ref: reset user to root for installation (#1469)
I'm looking to replace `gosu` with a `USER` instruction in getsentry/snuba#2696 -- this requires us to reset the user back to root before proceeding with `apt` installation
1 parent a1288b0 commit 1c4a143

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cron/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ARG BASE_IMAGE
22
FROM ${BASE_IMAGE}
3+
USER 0
34
RUN apt-get update && apt-get install -y --no-install-recommends cron && \
45
rm -r /var/lib/apt/lists/*
56
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)