Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into noble #56

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build and Deploy Dev
on:
schedule:
- cron: '5 4 * * *'
workflow_dispatch:

env:
IMAGE_NAME: devenv
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
-
name: Checkout
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ ENV PATH="/home/vscode/.local/bin:${PATH}"
COPY install_scripts/install_latex.sh /tmp/install_latex.sh
COPY package_lists/latex_packages.txt /tmp/latex_packages.txt

RUN chmod +x tmp/install_latex.sh &&\
tmp/install_latex.sh \
RUN chmod +x /tmp/install_latex.sh &&\
/tmp/install_latex.sh \
&& export PATH="/usr/local/texlive/bin/x86_64-linux:${PATH}" \
&& tlmgr option -- autobackup 0 \
&& tlmgr option -- docfiles 0 \
&& tlmgr option -- srcfiles 0 \
&& tlmgr install \
$(grep -o '^[^#]*' tmp/latex_packages.txt | tr '\n' ' ') \
$(grep -o '^[^#]*' /tmp/latex_packages.txt | tr '\n' ' ') \
&& chown --recursive $USERNAME:$USERNAME /usr/local/texlive

# Set Latex Path
Expand All @@ -146,14 +146,14 @@ ENV R_VERSION=4.4.1

# Set RSPM snapshot see:
# https://packagemanager.posit.co/client/#/repos/cran/setup?r_environment=other&snapshot=2023-10-04&distribution=ubuntu-22.04
ENV R_REPOS=https://packagemanager.posit.co/cran/__linux__/jammy/2024-09-18
ENV R_REPOS=https://packagemanager.posit.co/cran/__linux__/jammy/2024-10-01

COPY install_scripts/install_r.sh /tmp/install_r.sh
COPY package_lists/r_packages.txt /tmp/r_packages.txt
COPY package_lists/r_packages_github.txt /tmp/r_packages_github.txt

RUN chmod +x tmp/install_r.sh &&\
tmp/install_r.sh
RUN chmod +x /tmp/install_r.sh &&\
/tmp/install_r.sh

COPY --chown=$USERNAME .misc/.zshrc /home/$USERNAME/.

Expand Down
1 change: 0 additions & 1 deletion install_scripts/install_latex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ install Devel::StackTrace
echo "main_memory = 7999999" >> /usr/local/texlive/texmf.cnf
echo "save_size = 7999999" >> /usr/local/texlive/texmf.cnf

rm -r /tmp/*
rm -r /root/.cpan/build/*
apt-get autoclean -y
rm -rf /var/lib/apt/lists/*
1 change: 0 additions & 1 deletion install_scripts/install_r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ R -e "Refinitiv::install_eikon()"

chown --recursive $USERNAME:$USERNAME /usr/local/lib/R/site-library

rm -r /tmp/*
apt-get autoclean -y
rm -rf /var/lib/apt/lists/*

5 changes: 5 additions & 0 deletions package_lists/latex_packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ environ
eso-pic
eurosym
fancybox
fancyvrb
filehook
filemod
fira
Expand All @@ -65,18 +66,22 @@ latex-tools-dev
lineno
lipsum
listings
lwarp
mathtools
mdframed
media9
mfirstuc
microtype
moderncv
multirow
nomencl
nth
ocgx2
palatino
paralist
pdflscape
pdfpages
pgf
pgfplots
placeins
preprint
Expand Down
Loading