10 lines
675 B
Docker
10 lines
675 B
Docker
|
FROM bci-base:15.5
|
||
|
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"
|