Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 9cc3673

Browse files
committed
oci: Fix s3fs-fuse install bug
1 parent 9334e43 commit 9cc3673

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ WORKDIR /usr/local/bin
1515
CMD [ "/bin/sh" ]
1616

1717
# Install dependencies
18-
RUN apk add --no-cache libgcc
18+
RUN apk add --no-cache libgcc s3fs-fuse
1919

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

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

2727
# Load source files
2828
ADD . /src

Dockerfile.full

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ EXPOSE 80/tcp
1616
WORKDIR /usr/local/bin
1717
CMD [ "/bin/sh" ]
1818

19+
# Install dependencies
20+
RUN apt-get update && apt-get install -y \
21+
s3fs \
22+
# Cleanup
23+
&& rm -rf /var/lib/apt/lists/*
24+
1925
# Install python dependencies
2026
ADD ./requirements.txt /requirements.txt
2127
RUN apt-get update && apt-get install -y \
@@ -44,7 +50,6 @@ RUN apt-get update && apt-get install -y \
4450
llvm-dev \
4551
mold \
4652
nasm \
47-
s3fs \
4853
# Install rustup
4954
&& curl https://sh.rustup.rs -sSf >/rustup.sh \
5055
&& bash /rustup.sh -y \

0 commit comments

Comments
 (0)