Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Oct 4, 2023
1 parent b29fc32 commit c0960fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:focal

LABEL Description="Dockerized MiKTeX, Ubuntu 20.04" Vendor="Christian Schenk" Version="21.7"
LABEL Description="Dockerized MiKTeX, Ubuntu 22.04" Vendor="Christian Schenk" Version="23.4"

ARG DEBIAN_FRONTEND=noninteractive

Expand All @@ -16,7 +16,7 @@ RUN apt-get update \
perl

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
RUN echo "deb http://miktex.org/download/ubuntu focal universe" | tee /etc/apt/sources.list.d/miktex.list
RUN echo "deb http://miktex.org/download/ubuntu jammy universe" | tee /etc/apt/sources.list.d/miktex.list

RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
Expand Down
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
#!/bin/bash

if [ -z "${MIKTEX_UID}" ]; then
exec "$@"
else
MIKTEX_GID=${MIKTEX_GID:-${MIKTEX_UID}}
groupadd -g $MIKTEX_GID -o miktex
useradd --shell /bin/bash -u $MIKTEX_UID -g $MIKTEX_GID -o -c "" -Md /miktex miktex
groupadd -g "${MIKTEX_GID}" -o miktex
useradd --shell /bin/bash -u "${MIKTEX_UID}" -g "${MIKTEX_GID}" -o -c "" -Md /miktex miktex
mkdir -p /miktex/.miktex
chown -R miktex:miktex /miktex/.miktex
exec gosu miktex "$@"
Expand Down

0 comments on commit c0960fd

Please sign in to comment.