Skip to content

Commit

Permalink
ci: downgrade builder version: ubuntu 22.04 -> ubuntu 20.04 for compa…
Browse files Browse the repository at this point in the history
…tible with older version glibc(>=2.31) (GreptimeTeam#2592)
  • Loading branch information
zyy17 authored Oct 12, 2023
1 parent cf6ef0a commit 0a23b40
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docker/buildx/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04 as builder
FROM ubuntu:20.04 as builder

ARG CARGO_PROFILE
ARG FEATURES
Expand All @@ -7,6 +7,11 @@ ARG OUTPUT_DIR
ENV LANG en_US.utf8
WORKDIR /greptimedb

# Add PPA for Python 3.10.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa -y

# Install dependencies.
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && apt-get install -y \
Expand Down
7 changes: 6 additions & 1 deletion docker/dev-builder/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM ubuntu:22.04
FROM ubuntu:20.04

ENV LANG en_US.utf8
WORKDIR /greptimedb

# Add PPA for Python 3.10.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa -y

# Install dependencies.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libssl-dev \
Expand Down

0 comments on commit 0a23b40

Please sign in to comment.