mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-06 15:05:10 +02:00
fix: move back to root user to debug permissions more completely.
This commit is contained in:
parent
799ccc8edc
commit
176cb2e29c
@ -48,11 +48,7 @@ RUN apk update --quiet && \
|
||||
wget && \
|
||||
rm /var/cache/apk/* && \
|
||||
rm -rf /etc/periodic /etc/crontabs/root && \
|
||||
adduser -S docker -D && \
|
||||
mkdir -p ${HOME_DIR}/jobs && \
|
||||
chown -R docker:docker ${HOME_DIR}
|
||||
|
||||
USER docker
|
||||
mkdir -p ${HOME_DIR}/jobs
|
||||
|
||||
COPY --from=builder /usr/bin/rq/rq /usr/local/bin
|
||||
COPY entrypoint.sh /
|
||||
|
Loading…
x
Reference in New Issue
Block a user