Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smaller baseimage with Alpine #66

Merged
merged 21 commits into from
Nov 11, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove timezone ARG
The timezone argument can get seeded alternatively via the TZ env
variable or the special GRAPHITE_TIME_ZONE env.
bebehei committed Nov 5, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e7657c3728637d6d1072dc6ddf759be60e01bbc5
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -92,15 +92,6 @@ LABEL maintainer="Denys Zhdanov <[email protected]>"

ENV STATSD_INTERFACE udp

# choose a timezone at build-time
# use `--build-arg CONTAINER_TIMEZONE=Europe/Brussels` in `docker build`
ARG CONTAINER_TIMEZONE

RUN if [ ! -z "${CONTAINER_TIMEZONE}" ]; \
then ln -sf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata; \
fi

RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update --fix-missing \
&& apt-get -y upgrade \