Skip to content

Commit

Permalink
git-lfs with bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-codefresh committed Aug 1, 2024
1 parent a397cc7 commit e8d781c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
#moving to ubuntu instead of debian to solve high vulnerabilities
FROM ubuntu:noble-20240605
FROM ubuntu:noble-20240114

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 && \
apt-get install git-lfs=3.5.1 && \
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

#installing busybox
ARG BUSYBOX_VERSION=1:1.36.1-6ubuntu3
ARG BUSYBOX_VERSION=1.31.0

RUN apt-get install busybox=${BUSYBOX_VERSION} && \
ln -s /bin/busybox /usr/bin/[[
RUN curl -sL https://busybox.net/downloads/binaries/${BUSYBOX_VERSION}-defconfig-multiarch-musl/busybox-x86_64 -o busybox && \
ls -l busybox && \
chmod +x busybox && \
mv busybox /usr/bin/ && \
ls /usr/bin/busybox && \
busybox | head -n 1

COPY ./start.sh /run/start.sh
RUN chmod +x /run/start.sh
Expand Down

0 comments on commit e8d781c

Please sign in to comment.