mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
13 lines
486 B
Docker
13 lines
486 B
Docker
FROM gcr.io/kaniko-project/executor:debug-v1.3.0 AS kaniko
|
|
FROM alpine/git
|
|
|
|
# Git LFS (https://git-lfs.github.com/)
|
|
ARG LFS_VERSION=2.9.1
|
|
ARG LFS_DOWNLOAD_URL=https://github.com/git-lfs/git-lfs/releases/download/v${LFS_VERSION}/git-lfs-linux-amd64-v${LFS_VERSION}.tar.gz
|
|
ARG LFS_DOWNLOAD_SHA256=2a8e60cf51ec45aa0f4332aa0521d60ec75c76e485d13ebaeea915b9d70ea466
|
|
|
|
RUN /scripts/install-lfs && git lfs --version
|
|
|
|
COPY --from=kaniko /kaniko/executor /kaniko/
|
|
|
|
ENTRYPOINT ["/kaniko/executor"]
|