20 lines
674 B
Text
20 lines
674 B
Text
|
# Note: s3fs does not work properly on alpine as of version 1.84: https://github.com/s3fs-fuse/s3fs-fuse/issues/750
|
||
|
FROM alpine:3.7
|
||
|
LABEL maintainers="Cyrill Troxler <cyrilltroxler@gmail.com>"
|
||
|
LABEL description="s3 fuse csi plugin"
|
||
|
ARG S3FS_VERSION=v1.84
|
||
|
|
||
|
RUN apk --update add ca-certificates fuse alpine-sdk automake autoconf libxml2-dev fuse-dev curl-dev git bash openssl-dev
|
||
|
|
||
|
RUN git clone https://github.com/s3fs-fuse/s3fs-fuse.git; \
|
||
|
cd s3fs-fuse; \
|
||
|
git checkout tags/${S3FS_VERSION}; \
|
||
|
./autogen.sh; \
|
||
|
./configure --prefix=/usr; \
|
||
|
make; \
|
||
|
make install; \
|
||
|
rm -rf /var/cache/apk/*;
|
||
|
|
||
|
COPY ./_output/s3driver /s3driver
|
||
|
ENTRYPOINT ["/s3driver"]
|