besides issue #47 reported that the "-D info" no longer outputs "Init Path", envsubst fails also using the env variables (USER,GROUP .. ) to create smb.conf.
workaround:
FROM svendowideit/samba
# Install docker client
ENV DOCKER_VERSION 1.11.1
RUN curl -sSLf https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz | tar -xzvf - 'docker' && chmod +x docker/* && mv docker/* /bin
RUN rmdir /docker && mv /bin/docker /
RUN sed --in-place 's/Init Path/Root Dir/g' /setup.sh
RUN sed --in-place 's/USER=/export USER=/g' /setup.sh
RUN sed --in-place 's/PASSWORD=/export PASSWORD=/g' /setup.sh
RUN sed --in-place 's/USERID=/export USERID=/g' /setup.sh
RUN sed --in-place 's/GROUP=/export GROUP=/g' /setup.sh
RUN sed --in-place 's/DOCKER_HOST=/export DOCKER_HOST=/g' /setup.sh
RUN sed --in-place 's/READONLY=/export READONLY=/g' /setup.sh
RUN sed --in-place 's/CONTAINER=/export CONTAINER=/g' /setup.sh
besides issue #47 reported that the "-D info" no longer outputs "Init Path", envsubst fails also using the env variables (USER,GROUP .. ) to create smb.conf.
workaround: