Skip to content

Commit

Permalink
chore: make sure tzdata can be installed (#3365)
Browse files Browse the repository at this point in the history
<!--
Thanks for your contribution! please review
https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before
opening an issue.
-->

## What do these changes do?

<!-- Please give a short brief about these changes. -->

## Related issue number

<!-- Are there any issues opened that will be resolved by merging this
change? -->

Fixes #3364

See also: #3363

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow authored Nov 20, 2023
1 parent efce199 commit 9c227dd
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker/graphscope-store.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y && \
apt-get install -y sudo default-jdk tzdata && \
apt-get clean -y && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
############### RUNTIME: frontend && executor #######################
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

ADD artifacts/artifacts.tar.gz /opt/graphscope/

RUN apt-get update -y && \
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/coordinator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN cd /home/graphscope/GraphScope/ && \

FROM ubuntu:22.04 AS coordinator

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y && \
apt-get install -y sudo python3-pip openmpi-bin curl tzdata && \
apt-get clean -y && \
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/graphscope-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

# shanghai zoneinfo
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/graphscope-store.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RUN cd /home/graphscope/graphscope \

FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y && \
apt-get install -y sudo default-jdk dnsutils tzdata && \
apt-get clean -y && \
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/interactive-experimental.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ RUN cd /home/graphscope/GraphScope/interactive_engine/compiler \
############### RUNTIME: frontend && executor #######################
FROM ubuntu:22.04 AS experimental

ENV DEBIAN_FRONTEND=noninteractive

COPY --from=builder /home/graphscope/GraphScope/interactive_engine/compiler/target/libs /opt/graphscope/interactive_engine/compiler/target/libs
COPY --from=builder /home/graphscope/GraphScope/interactive_engine/compiler/target/compiler-1.0-SNAPSHOT.jar /opt/graphscope/interactive_engine/compiler/target/compiler-1.0-SNAPSHOT.jar
COPY --from=builder /home/graphscope/GraphScope/interactive_engine/compiler/conf /opt/graphscope/interactive_engine/compiler/conf
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/interactive.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN cd /home/graphscope/GraphScope/ && \
############### RUNTIME: frontend #######################
FROM ubuntu:22.04 AS frontend

ENV DEBIAN_FRONTEND=noninteractive

ENV GRAPHSCOPE_HOME=/opt/graphscope
ENV PATH=$PATH:$GRAPHSCOPE_HOME/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRAPHSCOPE_HOME/lib

Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/vineyard-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ARG REGISTRY=registry.cn-hongkong.aliyuncs.com
FROM $REGISTRY/graphscope/manylinux2014:ext AS ext
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

# shanghai zoneinfo
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
Expand Down
2 changes: 2 additions & 0 deletions k8s/dockerfiles/vineyard-runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ FROM $REGISTRY/graphscope/vineyard-dev:$BUILDER_VERSION AS builder

FROM ubuntu:22.04 AS runtime

ENV DEBIAN_FRONTEND=noninteractive

ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/opt/graphscope/lib:/opt/graphscope/lib64

RUN apt-get update -y && \
Expand Down

0 comments on commit 9c227dd

Please sign in to comment.