Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Update OSSFS_VERSION v1.91.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sliots committed Nov 5, 2023
1 parent b8c7195 commit 2533d7a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM alpine:3.10 AS builder
ENV OSSFS_VERSION v1.80.6
FROM alpine:3.14 AS builder
ENV OSSFS_VERSION v1.91.1
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories
RUN apk --update add fuse alpine-sdk automake autoconf libxml2-dev fuse-dev curl-dev
RUN wget -qO- https://github.com/aliyun/ossfs/archive/$OSSFS_VERSION.tar.gz |tar xz
RUN cd ossfs-1.80.6 \
RUN cd ossfs-1.91.1 \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
&& make \
&& make install

FROM alpine:3.10
FROM alpine:3.14
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories
RUN apk --update add fuse curl libxml2 openssl libstdc++ libgcc && rm -rf /var/cache/apk/*
ENV OSSFS_VERSION v1.80.6
ENV OSSFS_VERSION v1.91.1
COPY --from=builder /usr/bin/ossfs /usr/bin/ossfs
COPY mount.sh .
ENV OSS_URL http://oss-cn-beijing-internal.aliyuncs.com
Expand Down

0 comments on commit 2533d7a

Please sign in to comment.