Tool to mount s3 bucket to use as a normal linux directory
1.6K
Dockerfile:
FROM ubuntu
RUN rm -f /etc/localtime \
&& ln -s /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime
RUN apt-get update \
&& apt-get install -y s3fs \
&& rm -rf /var/lib/apt/lists/*
ENV MOUNT_POINT=/mnt
ENV AWS_REGION=ap-southeast-1
ENV USER_ID=101
ENTRYPOINT exec "/usr/bin/s3fs" "-f" "-o" "allow_other" "-o" "uid=${USER_ID}" "-o" "gid=${USER_ID}" "-o" "use_cache=/tmp" "-o" "iam_role=${S3FS_IAM_ROLE}" "${S3_BUCKET_NAME}" "${MOUNT_POINT}"
Content type
Image
Digest
Size
49.3 MB
Last updated
almost 6 years ago
docker pull onlysea212/s3fs