Open linydquantil opened 3 years ago
my code is copyed from https://github.com/nimmis/docker-alpine/tree/master/3.7
FROM alpine:3.7 COPY rootfs/ / RUN apk update && apk upgrade && \ apk add --no-cache --purge -uU ca-certificates supervisor rsyslog bash bash-completion curl openrc nginx jq && \ chmod +x /my_* && \ mkdir /etc/my_runonce /etc/my_runalways /etc/container_environment /etc/workaround-docker-2267 /var/log/supervisor && \ touch /var/log/startup.log && chmod 666 /var/log/startup.log && \ rm -rf /var/cache/apk/* # step7 change the timezone to UTC RUN rm -rf /etc/localtime && ln -sf /usr/share/zoneinfo/UTC /etc/localtime && \ # rc-update add local default && \ mkdir -p /run/nginx && \ addgroup www && \ adduser -G www -D www && \ sed -i "s/^user.*;/user www;/" /etc/nginx/nginx.conf && \ touch /etc/rc.local && chmod a+x /etc/rc.local
docker logs: open logfile Run files in /etc/my_runonce/ Run files in /etc/my_runalways/ Running /etc/my_runalways/register_service.sh... Running /etc/rc.local... /etc/rc.local failed with status 127
*** Killing all processes...
@nimmis hi, Excuse me, do you know how to solve this mistake?
my code is copyed from https://github.com/nimmis/docker-alpine/tree/master/3.7
docker logs: open logfile Run files in /etc/my_runonce/ Run files in /etc/my_runalways/ Running /etc/my_runalways/register_service.sh... Running /etc/rc.local... /etc/rc.local failed with status 127
*** Killing all processes...