Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GaRiBAldi
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Grafana
GaRiBAldi
Commits
a27d0015
Commit
a27d0015
authored
7 months ago
by
Hannes Feldt
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-2025
-download-mcli-from-docker' into 'master'
L2SS-2025
: Install mcli from docker instead of apt Closes
L2SS-2025
See merge request
!2
parents
bb6b6d5b
bc025f62
No related branches found
No related tags found
1 merge request
!2
L2SS-2025: Install mcli from docker instead of apt
Pipeline
#126774
passed
1 hour ago
Stage: build
Stage: test
Stage: tag-latest
Changes
1
Pipelines
41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+7
-10
7 additions, 10 deletions
Dockerfile
with
7 additions
and
10 deletions
Dockerfile
+
7
−
10
View file @
a27d0015
FROM
debian:bookworm
FROM
minio/mc
as
mcli
FROM
python:3-slim
USER
root
COPY
--from=mcli /usr/bin/mc /usr/bin/mcli
COPY
--from=mcli /licenses/CREDITS /licenses/CREDITS
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt apt update
COPY
--from=mcli /licenses/LICENSE /licenses/LICENSE
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt apt
install
-y
python3 python3-pip wget
RUN
--mount
=
type
=
cache,target
=
/tmp wget
\
https://dl.min.io/client/mc/release/linux-amd64/mcli_20241008093726.0.0_amd64.deb
-O
/tmp/mcli.deb
&&
\
dpkg
-i
/tmp/mcli.deb
ENV
PIP_ROOT_USER_ACTION=ignore
COPY
requirements.txt ./
COPY
requirements.txt ./
RUN
pip
install
-r
requirements.txt
--break-system-packages
RUN
pip
install
-r
requirements.txt
COPY
run.sh /run.sh
COPY
run.sh /run.sh
ENTRYPOINT
["/run.sh"]
ENTRYPOINT
["/run.sh"]
\ No newline at end of file
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