Skip to content

Commit

Permalink
chore(env): update Dockerfile
Browse files Browse the repository at this point in the history
update base os version from ubuntu 22.04 to 24.04
update protoc version to 27.0
update sdk version to 0.17.0

Signed-off-by: Cyril Fougeray <cyril.fougeray@toolsforhumanity.com>
  • Loading branch information
fouge committed Dec 12, 2024
1 parent 92bc89c commit 84c010f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions utils/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

# Set default shell during Docker image build to bash
SHELL ["/bin/bash", "-c"]

ARG WGET_ARGS="-q --show-progress --progress=bar:force:noscroll --no-check-certificate"
ARG PROTOC_VERSION=25.2
ARG SDK_VERSION=0.16.5
ARG PROTOC_VERSION=27.0
ARG SDK_VERSION=0.17.0

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
Expand All @@ -24,13 +24,13 @@ RUN apt-get update && \
ninja-build \
protobuf-compiler \
python3-dev \
python3-pip \
python3-venv \
python3-setuptools \
python3-tk \
python3-wheel \
udev \
wget \
unzip \
unzip \
xz-utils

RUN cd /tmp && \
Expand All @@ -41,7 +41,11 @@ RUN cd /tmp && \

RUN apt-get update && apt-get install -y cmake

RUN pip3 install \
# create a virtual environment and activate it
RUN python3 -m venv /opt/venv
ENV VIRTUAL_ENV=/opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip install \
junit2html \
junitparser \
pre-commit \
Expand Down

0 comments on commit 84c010f

Please sign in to comment.