解决helper_image镜像拉取过慢的问题,这里我们也可以上传到自己的私有仓库,加速docker执行器的构建。 且这里修改了镜像的时区。
FROM registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-febb2a09
ENV LANG=C.UTF-8 \
TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone \
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update \
&& apk add --update procps
Content type
Image
Digest
Size
24.5 MB
Last updated
about 4 years ago
docker pull iqimei/gitlab-runner-helper:x86_64-febb2a09