053a38a46d
The supervisord.conf file is edited to set the args for the storagenode and storagenode-updater binaries at runtime. This change moves the config file to the base image so we can set the permission to allow non-root users edit the config file. Non-root user permission is also needed for the /app directory so we can install/update the binaries when run as a non-root user. Updates https://github.com/storj/storj/issues/4489 Change-Id: If7a51a00ea171253e41923501174a43393f4638c
7 lines
235 B
Docker
7 lines
235 B
Docker
ARG DOCKER_ARCH
|
|
|
|
FROM ${DOCKER_ARCH:-amd64}/alpine:3.15
|
|
RUN apk --no-cache -U add ca-certificates supervisor
|
|
RUN mkdir -p /var/log/supervisor /app
|
|
COPY cmd/storagenode/docker-base/ /
|
|
RUN chmod a+rw /etc/supervisor/supervisord.conf /app |