Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
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
AlekSIS®
Official
AlekSIS-Core
Merge requests
!574
[Docker] Base on debian:bullseye-slim
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[Docker] Base on debian:bullseye-slim
docker/base-on-bullseye
into
master
Overview
2
Commits
1
Pipelines
2
Changes
1
Merged
Nik | Klampfradler
requested to merge
docker/base-on-bullseye
into
master
4 years ago
Overview
2
Commits
1
Pipelines
2
Changes
1
Expand
We get Python 3.9 from Debian
We can use uWSGI from Debian
We get postgresql-client 13 (so pg_dump in dbbackup can dum pfrom PostgreSQL 13)
Edited
4 years ago
by
Tom Teichler
0
0
Merge request reports
Compare
master
version 1
70763c09
4 years ago
master (base)
and
latest version
latest version
63a42cdf
1 commit,
4 years ago
version 1
70763c09
1 commit,
4 years ago
1 file
+
8
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Dockerfile
+
8
−
4
Options
FROM
python:3.9-buster
AS
core
FROM
debian:bullseye-slim
AS
core
# Build arguments
ARG
EXTRAS="ldap,s3"
@@ -31,8 +31,11 @@ RUN apt-get -y update && \
libpq-dev
\
libssl-dev
\
postgresql-client
\
yarnpkg
&&
\
eatmydata pip
install
uwsgi
python3-dev
\
python3-pip
\
uwsgi
\
uwsgi-plugin-python3
\
yarnpkg
# Install extra dependencies
RUN case
",
$EXTRAS
,"
in
\
@@ -73,7 +76,8 @@ RUN set -e; \
libpq-dev
\
libssl-dev
\
libldap2-dev
\
libsasl2-dev
;
\
libsasl2-dev
\
python3-dev
;
\
eatmydata apt-get autoremove
--purge
-y
;
\
apt-get clean
-y
;
\
rm
-rf
/root/.cache
Loading