Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cr 24805 security err reproduce #84

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
git-lfs with bug
vitalii-codefresh committed Aug 1, 2024
commit 04438cf6edbdf0c9eb288d1da0276cc519f1b6ff
18 changes: 13 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
#moving to ubuntu instead of debian to solve high vulnerabilities
FROM ubuntu:noble-20240114
FROM ubuntu:jammy-20230816

RUN apt-get update && \
apt-get install -y curl bash openssl git && \
apt-get clean

RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt list git-lfs -a && \
apt-get install git-lfs=3.4.1-1 && \
git lfs install
ARG GIT_LFS_VERSION=3.4.0
ARG TARGETPLATFORM

# installing git-lfs
RUN case ${TARGETPLATFORM} in \
"linux/amd64") OS_ARCH=amd64 ;; \
"linux/arm64") OS_ARCH=arm64 ;; \
esac \
&& curl -sL https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${OS_ARCH}-v${GIT_LFS_VERSION}.tar.gz -o "git-lfs.tar.gz" && \
tar -xvzf "git-lfs.tar.gz" && \
chmod +x git-lfs-${GIT_LFS_VERSION}/install.sh && \
rm git-lfs.tar.gz && \
git-lfs-${GIT_LFS_VERSION}/install.sh
#installing busybox
ARG BUSYBOX_VERSION=1.31.0