Skip to content

Commit bea49fa

Browse files
authored
Merge pull request #46 from bryanlatten/feature-base-1.6
Dockerfile: updated to base 1.6
2 parents 404714e + 11f5e57 commit bea49fa

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM behance/docker-base:1.4
1+
FROM behance/docker-base:1.6
22
MAINTAINER Bryan Latten <[email protected]>
33

44
ENV CONTAINER_ROLE=web \

Dockerfile-alpine

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM behance/docker-base:1.4-alpine
1+
FROM behance/docker-base:1.6-alpine
22
MAINTAINER Bryan Latten <[email protected]>
33

44
# Use in multi-phase builds, when an init process requests for the container to gracefully exit, so that it may be committed
@@ -15,14 +15,11 @@ EXPOSE ${CONTAINER_PORT}
1515
# Create an unprivileged user
1616
RUN adduser -D -S -H $NOT_ROOT_USER
1717

18-
RUN apk update && \
18+
RUN apk update --no-cache && \
1919
apk add \
20-
sed \
21-
bash \
22-
grep \
2320
nginx \
2421
&& \
25-
rm -rf /var/cache/apk/*
22+
/bin/bash -e /clean.sh
2623

2724
# Overlay the root filesystem from this repo
2825
COPY ./container/root /

0 commit comments

Comments
 (0)