mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
38c04d1758
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
20 lines
361 B
Docker
20 lines
361 B
Docker
# shorewall in a container
|
|
#
|
|
# docker run --rm -it \
|
|
# --net host \
|
|
# --cap-add NET_ADMIN \
|
|
# --privileged \
|
|
# jess/shorewall
|
|
#
|
|
FROM alpine:latest
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN apk update && apk add \
|
|
shorewall \
|
|
&& rm -rf /var/cache/apk/* \
|
|
&& touch /var/log/messages
|
|
|
|
COPY ./etc /etc/shorewall
|
|
|
|
ENTRYPOINT [ "/usr/sbin/shorewall" ]
|