-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
39 lines (31 loc) · 1.21 KB
/
Containerfile
File metadata and controls
39 lines (31 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# --------------------------------------------------------------------------
# THIS FILE IS AUTOGENERATED - DO NOT EDIT MANUALLY
#
# Source: Containerfile.j2
# --------------------------------------------------------------------------
ARG BASE_VERSION=15-pkg
FROM ghcr.io/daemonless/base-core:${BASE_VERSION}
ARG PACKAGES="s6"
ARG VERSION=""
LABEL org.opencontainers.image.title="FreeBSD Base" \
org.opencontainers.image.description="FreeBSD base image with s6 supervision" \
org.opencontainers.image.source="https://github.com/daemonless/base" \
org.opencontainers.image.url="https://github.com/daemonless/base" \
org.opencontainers.image.licenses="" \
org.opencontainers.image.vendor="daemonless" \
org.opencontainers.image.authors="daemonless" \
io.daemonless.type="base" \
io.daemonless.category="Base" \
io.daemonless.packages="${PACKAGES}"
COPY root/ /
RUN pkg update && \
pkg install -y ${PACKAGES} && \
pkg clean -ay && \
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*
RUN mkdir -p /etc/cont-init.d \
/etc/services.d \
/custom-cont-init.d \
/custom-services.d \
/run/s6/services
RUN chmod +x /init /healthz /etc/cont-init.d/* 2>/dev/null || true
ENTRYPOINT ["/init"]