Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Update image for alpine and fixed small bug with fuse library path #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM phusion/baseimage:0.9.18
FROM alpine:3.1
MAINTAINER Anatoly Bubenkov "bubenkoff@gmail.com"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q && apt-get install -y python-pip fuse \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN apk add --update py-pip py-fuse fuse-dev fuse bash && rm -rf /var/cache/apk/*
RUN pip install yas3fs
RUN sed -i'' 's/^# *user_allow_other/user_allow_other/' /etc/fuse.conf # uncomment user_allow_other
RUN chmod a+r /etc/fuse.conf # make it readable by anybody, it is not the default on Ubuntu
RUN chmod a+r /etc/fuse.conf # make it readable by anybody, it is not the default on Alpine
VOLUME /mnt
ADD run.sh /
ADD fuse.py /usr/lib/python2.7/site-packages/fuse.py
CMD ["/run.sh"]
Loading