Skip to content

Commit e913fd9

Browse files
authored
Update caddy version and fix format.
1 parent 5286fd6 commit e913fd9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

caddy/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.4
22

33
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
44

5-
ENV caddy_version=0.9.1
5+
ENV caddy_version=0.9.3
66

77
LABEL caddy_version="$caddy_version" architecture="amd64"
88

@@ -11,11 +11,11 @@ RUN apk update \
1111
&& apk add tar curl
1212

1313
RUN curl --silent --show-error --fail --location \
14-
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
15-
"https://github.com/mholt/caddy/releases/download/v$caddy_version/caddy_linux_amd64.tar.gz" \
16-
| tar --no-same-owner -C /usr/bin/ -xz caddy_linux_amd64 \
17-
&& mv /usr/bin/caddy_linux_amd64 /usr/bin/caddy \
18-
&& chmod 0755 /usr/bin/caddy
14+
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
15+
"https://github.com/mholt/caddy/releases/download/v$caddy_version/caddy_linux_amd64.tar.gz" \
16+
| tar --no-same-owner -C /usr/bin/ -xz caddy_linux_amd64 \
17+
&& mv /usr/bin/caddy_linux_amd64 /usr/bin/caddy \
18+
&& chmod 0755 /usr/bin/caddy
1919

2020
EXPOSE 80 443 2015
2121

0 commit comments

Comments
 (0)