Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
516ddc71
Commit
516ddc71
authored
Feb 18, 2024
by
fuyanbin
Browse files
gitlab-runner docker: 需要基于ubuntu:22.04, 再装 gitlab-runner_amd64.deb
fix: chron 加不了策略问题
parent
9e3a40fc
Changes
1
Show whitespace changes
Inline
Side-by-side
gitlab-runner/Dockerfile
View file @
516ddc71
FROM
gitlab/gitlab-runner:latest
FROM
ubuntu:22.04
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
--no-install-recommends
--force-yes
-y
\
bc
\
iputils-ping
\
...
...
@@ -38,6 +38,7 @@ COPY tools/upload.sh /usr/bin
COPY
tools/upload /usr/bin
COPY
tools/obsutil/obsutil /usr/bin
COPY
gitlab-runner/entrypoint /entrypoint
RUN
--mount
=
type
=
bind
,target
=
/tmp/mnt,source
=
./gitlab-runner bash
-c
'dpkg -i /tmp/mnt/gitlab-runner_amd64.deb'
WORKDIR
/
ENTRYPOINT
["/entrypoint"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment