File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apk update && apk add gcc ca-certificates openssl musl-dev git fuse syslog-n
7
7
ENV GOOFYS_VERSION 0.23.1
8
8
RUN curl --fail -sSL -o /usr/local/bin/goofys https://github.com/kahing/goofys/releases/download/v${GOOFYS_VERSION}/goofys \
9
9
&& chmod +x /usr/local/bin/goofys
10
+ RUN curl -sSL -o /usr/local/bin/catfs https://github.com/kahing/catfs/releases/download/v0.8.0/catfs && chmod +x /usr/local/bin/catfs
10
11
11
12
ARG ENDPOINT
12
13
ENV MOUNT_DIR /mnt/s3
Original file line number Diff line number Diff line change 2
2
3
3
syslog-ng -f /etc/syslog-ng/syslog-ng.conf
4
4
5
- goofys -f ${ENDPOINT: +--endpoint $ENDPOINT } --region $REGION --stat-cache-ttl $STAT_CACHE_TTL --type-cache-ttl $TYPE_CACHE_TTL --dir-mode $DIR_MODE --file-mode $FILE_MODE --uid $UID --gid $GID -o nonempty $BUCKET $MOUNT_DIR
5
+ [[ " $UID " -ne " 0" ]] && MOUNT_ACCESS=" allow_other" || MOUNT_ACCESS=" nonempty"
6
+
7
+ goofys -f ${ENDPOINT: +--endpoint $ENDPOINT } --region $REGION --stat-cache-ttl $STAT_CACHE_TTL --type-cache-ttl $TYPE_CACHE_TTL --dir-mode $DIR_MODE --file-mode $FILE_MODE --uid $UID --gid $GID -o $MOUNT_ACCESS $BUCKET $MOUNT_DIR
You can’t perform that action at this time.
0 commit comments