Skip to content

Commit

Permalink
Add tzdata into the docker image
Browse files Browse the repository at this point in the history
Since 20.1 a cockroach process will refuse to start up if the tzdata
is not available. Please refer the following URL for details.
cockroachdb/cockroach#36864
  • Loading branch information
kota2and3kan committed May 28, 2020
1 parent 39e7fb6 commit 2ec048f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cockroachoss/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ RUN apt update > /dev/null \
FROM ubuntu:20.04
COPY --from=builder-cockroachoss /cockroach-v20.1.0/src/github.com/cockroachdb/cockroach/cockroachoss /usr/local/bin/cockroachoss
RUN apt update > /dev/null \
&& apt install -y vim-tiny libncurses5 > /dev/null \
&& DEBIAN_FRONTEND=noninteractive apt install -y vim-tiny libncurses5 tzdata > /dev/null \
&& apt-get -y clean > /dev/null \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
WORKDIR /cockroach
ENTRYPOINT ["cockroachoss"]

0 comments on commit 2ec048f

Please sign in to comment.