Skip to content

Commit

Permalink
Some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
webwurst committed Jan 1, 2016
1 parent 50d0c62 commit 8552c30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV CADDY_FEATURES ""
RUN apk add --update curl \
&& rm -rf /var/cache/apk/*

RUN curl -SL "http://caddyserver.com/download/build?os=linux&arch=amd64&features=$CADDY_FEATURES" \
RUN curl -SL "https://caddyserver.com/download/build?os=linux&arch=arm&features=$CADDY_FEATURES" \
| tar -xz -C /usr/bin \
&& chmod u+x /usr/bin/caddy

Expand Down
10 changes: 10 additions & 0 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM armhfbuild/golang:1.5
# FROM hypriot/rpi-golang:1.5

RUN go get github.com/mholt/caddy

WORKDIR /
# RUN printf "0.0.0.0\nbrowse /var/www" > /Caddyfile

EXPOSE 80 443
CMD ["caddy"]
9 changes: 0 additions & 9 deletions Dockerfile_armhf

This file was deleted.

0 comments on commit 8552c30

Please sign in to comment.