Created
January 21, 2019 21:03
-
-
Save dcshock/b15e6285ee8b3b139c6f1304754914ba to your computer and use it in GitHub Desktop.
gcsfuse install debian stretch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch | |
RUN apt-get update | |
RUN apt-get install --yes --no-install-recommends ca-certificates curl gpg | |
RUN echo "deb http://packages.cloud.google.com/apt gcsfuse-stretch main" | tee /etc/apt/sources.list.d/gcsfuse.list | |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
RUN apt-get update | |
RUN apt-get install --yes gcsfuse | |
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
# Requires access to the fuse device and SYS_ADMIN | |
# mounting gcsfuse -o nonempty {bucket} {path} | |
# unmounting fusermount -u {path} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment