Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tikka-builder
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
python3
tikka-builder
Commits
95787e5c
Commit
95787e5c
authored
3 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+23
-0
23 additions, 0 deletions
Dockerfile
LICENSE
+0
-0
0 additions, 0 deletions
LICENSE
start.sh
+1
-0
1 addition, 0 deletions
start.sh
with
24 additions
and
0 deletions
Dockerfile
0 → 100644
+
23
−
0
View file @
95787e5c
FROM
python:3.7-slim-buster
# Install system requirements
RUN
apt-get update
&&
apt-get
install
--yes
curl libsodium23 make gettext binutils zip libgtk-3.0 libnotify4 libSDL2-2.0 xvfb
\
&&
apt-get autoclean
&&
apt-get autoremove
&&
rm
-rf
/var/lib/apt/lists
# Set X display port
ENV
DISPLAY :99
# Install Poetry
RUN
curl
-sSL
https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
ENV
PATH="/root/.local/bin:$PATH"
# Virtualenv is useless in Docker
RUN
poetry config virtualenvs.create
false
# Install wxPython binaries
RUN
/root/.local/share/pypoetry/venv/bin/python
-m
pip
install
-f
https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-10 wxPython
# Add virtual X buffer start script
ADD
start.sh /start.sh
RUN
chmod
u+x /start.sh
# Start virtual X buffer
CMD
/start.sh
This diff is collapsed.
Click to expand it.
LICENSE
0 → 100644
+
0
−
0
View file @
95787e5c
This diff is collapsed.
Click to expand it.
start.sh
0 → 100644
+
1
−
0
View file @
95787e5c
Xvfb :99
-screen
0 1280x1024x24
-nolisten
tcp &
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