Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csentry
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
ICS Control System Infrastructure
csentry
Commits
2e319d06
Commit
2e319d06
authored
2 years ago
by
Anders Harrisson
Browse files
Options
Downloads
Patches
Plain Diff
Add ESS debian mirror in Dockerfile
JIRA INFRA-6350
parent
1c09dc82
No related branches found
No related tags found
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-0
5 additions, 0 deletions
Dockerfile
with
5 additions
and
0 deletions
Dockerfile
+
5
−
0
View file @
2e319d06
FROM
python:3.8-slim
as
base
# Add ESS specific debian repository mirror
RUN
echo
"deb https://artifactory.esss.lu.se/artifactory/debian-mirror stable main"
|
tee
/etc/apt/sources.list.d/ess-debian-mirror.list
# Install Python dependencies in an intermediate image
# as some requires a compiler (psycopg2)
FROM
base
as
builder
...
...
@@ -65,6 +68,8 @@ RUN apt-get update \
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
rm
/etc/apt/sources.list.d/ess-debian-mirror.list
COPY
--chown=csi:csi . /app/
WORKDIR
/app
RUN
echo
"__version__ =
\"
$(
git describe
)
\"
"
>
app/_version.py
...
...
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