Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Autoapiframework
code
Commits
5c22538a
Commit
5c22538a
authored
1 month ago
by
Gunther Bauer
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
dffbc0f9
No related branches found
No related tags found
1 merge request
!1
Contribution zf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
container/vss_gui.dockerfile
+35
-0
35 additions, 0 deletions
container/vss_gui.dockerfile
with
35 additions
and
0 deletions
container/vss_gui.dockerfile
0 → 100644
+
35
−
0
View file @
5c22538a
# Use the official Ubuntu 22.04 image as the base image
FROM
ubuntu:22.04
# Set environment variables to avoid prompts during package installation
ENV
DEBIAN_FRONTEND=noninteractive
# Update the package list and install necessary packages
RUN
apt-get update
&&
apt-get
install
-y
bash
RUN
apt-get
install
-y
python3.10 python3.10-venv python3.10-dev python3-pip python3-tk
&&
apt-get clean
# Create a virtual environment for Python 3.10
RUN
python3.10
-m
venv /opt/venv
# Activate the virtual environment and install Python libraries
RUN
/opt/venv/bin/pip
install
--upgrade
pip
RUN
/opt/venv/bin/pip
install
anytree pyyaml screeninfo graphql-core
# Set the virtual environment as the default Python environment
ENV
PATH="/opt/venv/bin:$PATH"
# Verify the installation
RUN
python
--version
&&
pip list
# Set the working directory
WORKDIR
/app
# Copy the files
COPY
/scripts/gui/ /app/gui
COPY
/scripts/vss/ /app/vss
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