forked from jeffreybreen/docker-ubuntu18-blobfuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (19 loc) · 756 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:18.04
# fix locales
RUN apt-get update \
&& apt-get install -y --no-install-recommends locales \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
# install blobfuse
RUN apt-get update \
&& apt-get install -y wget apt-utils \
&& wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& apt-get remove -y wget \
&& apt-get update \
&& apt-get install -y --no-install-recommends fuse blobfuse libcurl3-gnutls libgnutls30 \
&& rm -rf /var/lib/apt/lists/*
COPY mount-blobfuse.sh /
RUN chmod 755 /mount-blobfuse.sh
ENTRYPOINT ["/mount-blobfuse.sh"]