Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
videoag
backend
Commits
9a49e4c2
Commit
9a49e4c2
authored
4 months ago
by
Simon Künzel
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Add package caching for CI
parent
f74a0901
No related branches found
No related tags found
No related merge requests found
Pipeline
#7316
failed
4 months ago
Stage: build
Stage: run
Pipeline: backend
#7317
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
common_py/Dockerfile
+2
-2
2 additions, 2 deletions
common_py/Dockerfile
job_controller/jobs/ffmpeg_base/Dockerfile
+1
-1
1 addition, 1 deletion
job_controller/jobs/ffmpeg_base/Dockerfile
with
3 additions
and
3 deletions
common_py/Dockerfile
+
2
−
2
View file @
9a49e4c2
...
@@ -4,8 +4,8 @@ FROM python:3.13-slim AS base
...
@@ -4,8 +4,8 @@ FROM python:3.13-slim AS base
ARG
PIP_CACHE_DIR=
ARG
PIP_CACHE_DIR=
ARG
APT_CACHE_DIR=
ARG
APT_CACHE_DIR=
RUN
rm
-f
/etc/apt/apt.conf.d/docker-clean
RUN
rm
-f
/etc/apt/apt.conf.d/docker-clean
RUN if
!
[
-z
"
$APT_CACHE_DIR
"
]
;
then
echo
"Dir::Cache::Archives '
$APT_CACHE_DIR
'"
>
/etc/apt/apt.conf.d/ci_caching
;
fi
RUN if
!
[
-z
"
$APT_CACHE_DIR
"
]
;
then
echo
"Dir::Cache::Archives '
$APT_CACHE_DIR
'
;
"
>
/etc/apt/apt.conf.d/ci_caching
;
fi
RUN
cat
/etc/apt/apt.conf.d/ci_caching
WORKDIR
/code
WORKDIR
/code
...
...
This diff is collapsed.
Click to expand it.
job_controller/jobs/ffmpeg_base/Dockerfile
+
1
−
1
View file @
9a49e4c2
...
@@ -8,7 +8,7 @@ FROM registry.git.fsmpi.rwth-aachen.de/videoag/backend/${ENV_TYPE}_job_base:${GI
...
@@ -8,7 +8,7 @@ FROM registry.git.fsmpi.rwth-aachen.de/videoag/backend/${ENV_TYPE}_job_base:${GI
# READ THE NOTE on caching in the README before changing this/for more info!
# READ THE NOTE on caching in the README before changing this/for more info!
ARG
APT_CACHE_DIR=
ARG
APT_CACHE_DIR=
RUN
rm
-f
/etc/apt/apt.conf.d/docker-clean
RUN
rm
-f
/etc/apt/apt.conf.d/docker-clean
RUN if
!
[
-z
"
$APT_CACHE_DIR
"
]
;
then
echo
"Dir::Cache::Archives
$APT_CACHE_DIR
"
>
/etc/apt/apt.conf.d/ci_caching
;
fi
RUN if
!
[
-z
"
$APT_CACHE_DIR
"
]
;
then
echo
"Dir::Cache::Archives
'
$APT_CACHE_DIR
';
"
>
/etc/apt/apt.conf.d/ci_caching
;
fi
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt,sharing
=
locked
\
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt,sharing
=
locked
\
--mount
=
type
=
cache,target
=
/var/lib/apt,sharing
=
locked
\
--mount
=
type
=
cache,target
=
/var/lib/apt,sharing
=
locked
\
...
...
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