Skip to content

Instantly share code, notes, and snippets.

@diablowu
Created September 1, 2020 02:22
Show Gist options
  • Save diablowu/9e3fd0a435f1fadced82bac3b5556f59 to your computer and use it in GitHub Desktop.
Save diablowu/9e3fd0a435f1fadced82bac3b5556f59 to your computer and use it in GitHub Desktop.
FROM alpine:3.12
WORKDIR /app/src
RUN echo "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main" > /etc/apk/repositories \
&& echo "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/community" >> /etc/apk/repositories \
&& apk update && apk add git \
&& apk add build-base automake autoconf libxml2 fuse-dev curl-dev \
&& git clone https://github.com/s3fs-fuse/s3fs-fuse.git . \
&& ./autogen.sh && ./configure && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment