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

chore: make sure tzdata can be installed #3365

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading