This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
alpine-s6/Dockerfile

23 lines
700 B
Docker

FROM alpine:3.15
LABEL maintainer="<Aditya Prima> aprimediet@gmail.com"
# Add s6-overlay
ENV S6_OVERLAY_VERSION=v3.1.5.0
# Install base dependencies
RUN apk add --update --no-cache bash libcap
# Get S6-OVERLAY
ADD https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp/
ADD https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz /tmp/
# Install S6-Overlay
RUN tar -Jxpf /tmp/s6-overlay-noarch.tar.xz -C /
RUN tar -Jxpf /tmp/s6-overlay-x86_64.tar.xz -C /
# Remove S6-Overlay
RUN rm -f /tmp/s6-overlay-noarch.tar.xz
RUN rm -f /tmp/s6-overlay-x76_64.tar.xz
ENTRYPOINT [ "/init" ]