Support local timezone on alpine image
This commit is contained in:
parent
a6e8fae7f5
commit
f2fa86c605
2 changed files with 4 additions and 2 deletions
|
|
@ -6,6 +6,8 @@ RUN apk add --no-cache --virtual .run-deps \
|
||||||
ca-certificates bash wget openssl \
|
ca-certificates bash wget openssl \
|
||||||
&& update-ca-certificates
|
&& update-ca-certificates
|
||||||
|
|
||||||
|
# Install timezone
|
||||||
|
RUN apk add --update --no-cache tzdata
|
||||||
|
|
||||||
# Configure Nginx and apply fix for very long server names
|
# Configure Nginx and apply fix for very long server names
|
||||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
image: jwilder/nginx-proxy
|
image: jwilder/nginx-proxy
|
||||||
container_name: nginx-proxy
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -11,4 +11,4 @@ services:
|
||||||
whoami:
|
whoami:
|
||||||
image: jwilder/whoami
|
image: jwilder/whoami
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=whoami.local
|
- VIRTUAL_HOST=whoami.local
|
||||||
Loading…
Reference in a new issue