Skip to content

Commit

Permalink
oci: Fix s3fs-fuse install bug
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Nov 4, 2023
1 parent 9334e43 commit 9cc3673
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ WORKDIR /usr/local/bin
CMD [ "/bin/sh" ]

# Install dependencies
RUN apk add --no-cache libgcc
RUN apk add --no-cache libgcc s3fs-fuse

# Be ready for building
FROM docker.io/rust:1-alpine${ALPINE_VERSION} as builder

# Install dependencies
RUN apk add --no-cache bzip2-static clang-dev cmake g++ \
make mold musl-dev nasm s3fs-fuse xz-static zlib-static
make mold musl-dev nasm xz-static zlib-static

# Load source files
ADD . /src
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ EXPOSE 80/tcp
WORKDIR /usr/local/bin
CMD [ "/bin/sh" ]

# Install dependencies
RUN apt-get update && apt-get install -y \
s3fs \
# Cleanup
&& rm -rf /var/lib/apt/lists/*

# Install python dependencies
ADD ./requirements.txt /requirements.txt
RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -44,7 +50,6 @@ RUN apt-get update && apt-get install -y \
llvm-dev \
mold \
nasm \
s3fs \
# Install rustup
&& curl https://sh.rustup.rs -sSf >/rustup.sh \
&& bash /rustup.sh -y \
Expand Down

0 comments on commit 9cc3673

Please sign in to comment.