Skip to content

Commit

Permalink
Improve Dockerfile (#676)
Browse files Browse the repository at this point in the history
* fixing DockerFile

* applying corrections

* fixating the dest file
  • Loading branch information
jaesivsm authored and Unrud committed Aug 2, 2017
1 parent 434178a commit ae54e85
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,7 +1,7 @@
FROM alpine:latest

# Version of Radicale (e.g. 2.0.0)
ENV VERSION master
ARG VERSION=master

# Install dependencies
RUN apk add --no-cache \
Expand All @@ -17,8 +17,8 @@ RUN apk add --no-cache \
build-base \
libffi-dev
# Install Radicale
ADD https://github.com/Kozea/Radicale/archive/${VERSION}.tar.gz radicale.tar.gz
RUN tar xzf radicale.tar.gz && \
RUN wget --quiet https://github.com/Kozea/Radicale/archive/${VERSION}.tar.gz --output-document=radicale.tar.gz && \
tar xzf radicale.tar.gz && \
python3 -m pip install ./Radicale-${VERSION} && \
rm -r radicale.tar.gz Radicale-${VERSION}
# Persistent storage for data (Mount it somewhere on the host!)
Expand Down

0 comments on commit ae54e85

Please sign in to comment.