2024-05-09 20:29:50 +02:00
|
|
|
#!BuildTag: radvd:%PKG_VERSION% radvd:%PKG_VERSION%.%RELEASE% radvd
|
2024-05-09 20:20:38 +02:00
|
|
|
FROM bci/bci-busybox:15.6
|
2024-05-09 20:08:55 +02:00
|
|
|
|
|
|
|
# labelprefix=org.opensuse.linux-security-sensor
|
|
|
|
LABEL org.opencontainers.image.title="Linux IPv6 Router Advertisement Daemon"
|
|
|
|
LABEL org.opencontainers.image.description="Linux IPv6 Router Advertisement Daemon %PKG_VERSION%"
|
|
|
|
LABEL org.opensuse.version="%PKG_VERSION%.%RELEASE%"
|
|
|
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
|
|
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
|
|
|
LABEL org.opensuse.reference="registry.opensuse.org/home/jeff_mahoney/containers/radvd:%PKG_VERSION%.%RELEASE%"
|
|
|
|
# endlabelprefix
|
|
|
|
|
2024-05-09 19:15:58 +02:00
|
|
|
RUN zypper --non-interactive install -y radvd
|
|
|
|
ENV RADVD_OPTIONS="-C /etc/radvd.conf --logmethod stderr"
|
|
|
|
COPY ./container /container
|
|
|
|
CMD /container/scripts/entrypoint.sh
|
|
|
|
|
|
|
|
LABEL INSTALL="/usr/bin/podman run --env IMAGE=IMAGE --rm --privileged --pid host -v /:/host -v /run:/run:rslave -v /sys/fs:/sys/fs:ro IMAGE /container/scripts/label-install"
|
|
|
|
LABEL UNINSTALL="/usr/bin/podman run --rm --privileged --pid host -v /run:/run:rslave -v /:/host:shared IMAGE /container/scripts/label-uninstall"
|
|
|
|
LABEL RUN="/usr/bin/podman run --replace --name NAME IMAGE --env RADVD_OPTIONS=RADVD_OPTIONS -v /etc/radvd.conf:/etc/radvd.conf:ro /container/scripts/entrypoint.sh"
|