2015-07-28 10:36:22 +02:00
|
|
|
# shorewall in a container
|
|
|
|
#
|
|
|
|
# docker run --rm -it \
|
|
|
|
# --net host \
|
|
|
|
# --cap-add NET_ADMIN \
|
2015-07-28 11:47:30 +02:00
|
|
|
# --privileged \
|
2015-07-28 10:36:22 +02:00
|
|
|
# jess/shorewall
|
|
|
|
#
|
|
|
|
FROM alpine:latest
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-07-28 10:36:22 +02:00
|
|
|
|
2016-06-06 05:40:20 +02:00
|
|
|
RUN apk --no-cache add \
|
2015-07-28 10:36:22 +02:00
|
|
|
shorewall \
|
2015-07-28 11:47:30 +02:00
|
|
|
&& touch /var/log/messages
|
2015-07-28 10:36:22 +02:00
|
|
|
|
2015-07-28 11:47:30 +02:00
|
|
|
COPY ./etc /etc/shorewall
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/sbin/shorewall" ]
|