Skip to content

Commit

Permalink
Reduce docker image size with Alpine Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mikoim committed Feb 20, 2017
1 parent 11686f8 commit 6cd6af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:2.7
FROM alpine:3.5

MAINTAINER kfei <[email protected]>

RUN pip install slack-cleaner
RUN apk add --no-cache python2 py-pip && pip install slack-cleaner

VOLUME ["/backup"]

WORKDIR /backup

ENTRYPOINT ["/bin/bash"]
ENTRYPOINT ["/bin/sh"]

0 comments on commit 6cd6af9

Please sign in to comment.