mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-02 14:28:08 +01:00
7ac4881609
This enables us to remove the following patterns that required a `rm -rf /var/cache/apk`: - `apk update` - `apk add --update` - `apk add --update-cache` Supported since alpine 3.3.
19 lines
328 B
Docker
19 lines
328 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 --no-cache add \
|
|
shorewall \
|
|
&& touch /var/log/messages
|
|
|
|
COPY ./etc /etc/shorewall
|
|
|
|
ENTRYPOINT [ "/usr/sbin/shorewall" ]
|