alpine: configure timezone
This commit is contained in:
parent
427208ff8d
commit
705becfcc0
1 changed files with 9 additions and 1 deletions
10
Dockerfile
10
Dockerfile
|
@ -3,7 +3,15 @@ FROM python:3.9-alpine
|
||||||
ARG STACOSYS_VERSION=2.0
|
ARG STACOSYS_VERSION=2.0
|
||||||
ARG STACOSYS_FILENAME=stacosys-${STACOSYS_VERSION}-py3-none-any.whl
|
ARG STACOSYS_FILENAME=stacosys-${STACOSYS_VERSION}-py3-none-any.whl
|
||||||
|
|
||||||
RUN apk update && apk add bash && apk add wget && apk add tzdata && rm -rf /var/cache/apk/*
|
RUN apk update && apk add bash && apk add wget
|
||||||
|
|
||||||
|
# Timezone
|
||||||
|
RUN apk add tzdata
|
||||||
|
RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||||
|
RUN echo "Europe/Paris" > /etc/timezone
|
||||||
|
|
||||||
|
# Clean apk cache
|
||||||
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY docker/docker-init.sh /usr/local/bin/
|
COPY docker/docker-init.sh /usr/local/bin/
|
||||||
RUN chmod +x usr/local/bin/docker-init.sh
|
RUN chmod +x usr/local/bin/docker-init.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue