22 lines
382 B
Docker
22 lines
382 B
Docker
FROM registry.fedoraproject.org/fedora:39
|
|
|
|
|
|
ENV PKGS="\
|
|
wireguard-tools \
|
|
nftables \
|
|
bash-completion \
|
|
procps \
|
|
iproute"
|
|
|
|
COPY entrypoint.sh /usr/bin/
|
|
|
|
# install system dependencies
|
|
RUN dnf install -y \
|
|
${PKGS} \
|
|
&& dnf clean all &&\
|
|
chmod +x /usr/bin/entrypoint.sh && \
|
|
mkdir /setup.d
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]
|