Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DSSE_Group1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Neha Pokharel
DSSE_Group1
Commits
5383ebf6
There was an error fetching the commit references. Please try again later.
Commit
5383ebf6
authored
May 20, 2024
by
Michael Youkeim
Browse files
Options
Downloads
Patches
Plain Diff
Added libcairo and protobuf installations
parent
62359949
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+24
-3
24 additions, 3 deletions
Dockerfile
with
24 additions
and
3 deletions
Dockerfile
+
24
−
3
View file @
5383ebf6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment