~patrickhaussmann/docker-latex

c7f29ae9d9cf2d16c8e5977776298dbd0addaa2d — patrickhaussmann 1 year, 10 months ago 34827e6
Permissions are set in dev base image
2 files changed, 4 insertions(+), 3 deletions(-)

M Dockerfile
M README.md
M Dockerfile => Dockerfile +3 -2
@@ 7,9 7,10 @@ RUN apt-get update --quiet \
	&& apt-get install -y --quiet software-properties-common && add-apt-repository -y ppa:inkscape.dev/stable && apt-get update --quiet && apt-get install -y --quiet inkscape \
    && pip3 install numpy matplotlib scipy pygments \
    && apt-get purge -y --quiet python3-pip \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get --purge remove -y .\*-doc$ \
    && apt-get clean -y
    && apt-get autoremove -y \
    && apt-get clean -y \
    && rm -rf /var/lib/apt/lists/*
RUN mkdir /.config && chmod 677 /.config && mkdir /.cache && chmod 677 /.cache
WORKDIR /src
USER patrick

M README.md => README.md +1 -1
@@ 2,5 2,5 @@

## Usage
```bash
docker run --rm -v ${PWD}:/src --user $(id -u):$(id -g) patrickhaussmann/latex
docker run --rm -v ${PWD}:/src patrickhaussmann/latex
```