Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
s6-overlay reproduce for gvisor
FROM alpine:latest
# install all the packages needed
RUN apk update && \
apk upgrade && \
apk add --no-cache \
ca-certificates \
nginx \
curl \
jq \
&& curl -L -s \
| tar xvzf - -C /
RUN mkdir -p /etc/services.d/nginx/
### configuration
COPY run /etc/services.d/nginx/run
ENTRYPOINT ["/init"]
#!/usr/bin/execlineb -P
/usr/sbin/nginx -g "daemon off; pid /var/run/;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment