Dockerfile33 lines · 663 chars FROM ubuntu:jammy-20260217
# Build s3fs from source using autotools
ENV DEBIAN_FRONTEND=noninteractive
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
build-essential \
autoconf \
automake \
libtool \
pkg-config \
libcurl4-openssl-dev \
libxml2-dev \
libfuse3-dev \
ca-certificates \
libssl-dev; \
rm -rf /var/lib/apt/lists/*
# Build from source
WORKDIR /src
COPY . /src
RUN set -eux; \
./autogen.sh; \
./configure --with-openssl; \
make -j"$(nproc)"; \
make install
# Default command to run when container starts
CMD ["s3fs","--version"]