Skip to content
Snippets Groups Projects
Commit 5383ebf6 authored by Michael Youkeim's avatar Michael Youkeim
Browse files

Added libcairo and protobuf installations

parent 62359949
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,20 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
wget \
curl \
gnupg \
protobuf-compiler \
git \
software-properties-common \
python3 \
python3-pip
python3-pip \
autoconf \
automake \
libtool \
g++ \
make \
unzip \
pkg-config \
libcairo2 \
libcairo2-dev
# Add the Temurin repository and install Java
RUN wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /usr/share/keyrings/temurin-archive-keyring.gpg \
......@@ -25,6 +35,17 @@ RUN tar -xzf /tmp/jdk-6u45-linux-x64.tar.gz -C /usr/lib/jvm/ && \
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 100 && \
update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-se-7u75-ri/bin/java 200
# Download and install Protocol Buffers 2.5.0
RUN wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz \
&& tar xvf protobuf-2.5.0.tar.gz \
&& cd protobuf-2.5.0 \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
&& make \
&& make install \
&& ldconfig /usr/local/lib \
&& cd ..
# Cleanup
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
......@@ -37,7 +58,7 @@ WORKDIR /app
COPY . .
# Install Python dependencies
RUN pip3 install --break-system-packages -r requirements.txt #solve pip issue
RUN pip3 install -r requirements.txt #solve pip issue
#RUN pip3 install -r requirements.txt
# Keep the container running
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment