Skip to content

Commit

Permalink
bazel(ci): Fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jul 17, 2024
1 parent f4a37cb commit 9be4e2e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bazel/docker/almalinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-openjdk

# Install Python
RUN dnf -y update \
&& dnf -y install python3-devel python3-pip \
&& dnf -y install python3-devel python3-pip python3-numpy \
&& dnf clean all \
&& rm -rf /var/cache/dnf

Expand Down
3 changes: 2 additions & 1 deletion bazel/docker/archlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ENV PATH=/usr/local/bin:$PATH
RUN pacman -Syu --noconfirm git base-devel bazel

# Install Python
RUN pacman -Syu --noconfirm python python-pip python-setuptools
RUN pacman -Syu --noconfirm python python-pip python-setuptools \
python-numpy python-pandas

FROM env AS devel
WORKDIR /home/project
Expand Down
2 changes: 2 additions & 0 deletions bazel/docker/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ FROM debian:latest AS env
RUN apt-get update -qq \
&& apt-get install -yq git wget curl libssl-dev build-essential \
&& apt-get install -yq python3-dev python3-pip python3-venv \
python3-numpy python3-pandas \
&& apt-get install -yq default-jdk \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install Bazel
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
ARG TARGETARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion bazel/docker/fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-openjdk

# Install Python
RUN dnf -y update \
&& dnf -y install python3 python3-devel python3-pip \
&& dnf -y install python3 python3-devel python3-pip python3-numpy \
&& dnf clean all

FROM env AS devel
Expand Down
2 changes: 1 addition & 1 deletion bazel/docker/rockylinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-openjdk

# Install Python
RUN dnf -y update \
&& dnf -y install python3-devel python3-pip \
&& dnf -y install python3-devel python3-pip python3-numpy \
&& dnf clean all \
&& rm -rf /var/cache/dnf

Expand Down
1 change: 1 addition & 0 deletions bazel/docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update -qq \
&& apt-get install -yq git wget curl libssl-dev build-essential \
&& apt-get install -yq python3-dev python3-pip python3-venv \
python3-numpy python3-pandas \
&& apt-get install -yq default-jdk \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down

0 comments on commit 9be4e2e

Please sign in to comment.