Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Feb 18, 2019
1 parent 9ef2648 commit 35ce04d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ RUN miktexsetup finish \
&& mpm --admin --update-db \
&& mpm --admin \
--install amsfonts \
--install biber-linux-x86_64
--install biber-linux-x86_64 \
&& initexmf --admin --update-fndb

COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ configured to install missing files in the container directory
`/miktex/.miktex`. It is recommended that you mount this directory to
a Docker volume.

All commands are executed as user `miktex`. By setting the container
All commands are executed as container user `miktex`. By setting the container
environment variables `MIKTEX_GID` and `MIKTEX_UID` you can assign a
gid/uid to the MiKTeX user.
group ID and a user ID.

### Example

Expand Down
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ MIKTEX_UID=${MIKTEX_UID:-1001}
groupadd -g $MIKTEX_GID -o miktex
useradd --shell /bin/bash -u $MIKTEX_UID -g $MIKTEX_GID -o -c "" -Md /miktex miktex

chown miktex:miktex /miktex
chown miktex:miktex /miktex/work
chown -R miktex:miktex /miktex

exec gosu miktex "$@"

0 comments on commit 35ce04d

Please sign in to comment.