Sign inSign up

onlysea212/s3fs

By onlysea212

Updated almost 6 years ago

Tool to mount s3 bucket to use as a normal linux directory

Image
0

1.6K

onlysea212/s3fs repository overview

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}"

Tag summary

Content type

Image

Digest

Size

49.3 MB

Last updated

almost 6 years ago

docker pull onlysea212/s3fs