Skip to content

Commit

Permalink
Upgrading to alpine 3.6 and getting rid of extra repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
faisyl committed May 30, 2017
1 parent 16c5032 commit 7bc4348
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM alpine:3.5
FROM alpine:3.6

ADD start_runit /sbin/
RUN mkdir /etc/container_environment &&\
chmod a+x /sbin/start_runit && mkdir /etc/service && mkdir /etc/runit_init.d && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk --update upgrade && apk add runit && rm -rf /var/cache/apk/*

CMD ["/sbin/start_runit"]

0 comments on commit 7bc4348

Please sign in to comment.