Skip to content

Commit

Permalink
Set timezone and version in latexmkrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-secrist committed Aug 16, 2023
1 parent 37df3d7 commit 03a8b6c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
"-lualatex",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {
"VERSION": "v1.0.4"
}
]
}
],
"latex-workshop.latex.watch.files.ignore": [
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ ARG GID=$UID
RUN groupadd --gid $GID $USERNAME \
&& useradd --uid $UID --gid $GID -m $USERNAME

ARG TZ
ENV TZ="$TZ"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update \
&& apt-get install -y build-essential wget curl libfontconfig1 \
&& apt-get install -y build-essential wget curl libfontconfig1 tzdata \
&& rm -rf /var/lib/apt/lists/*

ARG TEXLIVE_MIRROR=https://mirror.ctan.org/systems/texlive/tlnet
Expand Down
2 changes: 2 additions & 0 deletions src/latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ENV{'TZ'}='America/New_York';
$ENV{'VERSION'}='v1.0.5';

0 comments on commit 03a8b6c

Please sign in to comment.