Skip to content

Commit

Permalink
Remove IMAGE.md
Browse files Browse the repository at this point in the history
Add nbstripout
Add R back

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Jacob Woffenden authored Aug 7, 2024
1 parent fe5a503 commit c2bf57d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 68 deletions.
52 changes: 12 additions & 40 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,53 +116,25 @@ rm --force --recursive /var/lib/apt/lists/* node.sh
EOF

# R
# RUN <<EOF
# curl --location --fail-with-body \
# "https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc" \
# --output "marutter_pubkey.asc"

# cat marutter_pubkey.asc | gpg --dearmor --output marutter_pubkey.gpg

# install -D --owner root --group root --mode 644 marutter_pubkey.gpg /etc/apt/keyrings/marutter_pubkey.gpg

# echo "deb [signed-by=/etc/apt/keyrings/marutter_pubkey.gpg] https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/" > /etc/apt/sources.list.d/cran.list

# apt-get update --yes

# apt-get install --yes "r-base=${R_VERSION}"

# apt-get clean --yes

# rm --force --recursive marutter_pubkey.asc marutter_pubkey.gpg /var/lib/apt/lists/*
# EOF

# # BASE NOTEBOOK
# RUN <<EOF
# apt-get update --yes
RUN <<EOF
curl --location --fail-with-body \
"https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc" \
--output "marutter_pubkey.asc"

# apt-get install --yes \
# "fonts-liberation=1:2.1.5-3" \
# "pandoc=3.1.3+ds-2"
cat marutter_pubkey.asc | gpg --dearmor --output marutter_pubkey.gpg

# apt-get clean --yes
install -D --owner root --group root --mode 644 marutter_pubkey.gpg /etc/apt/keyrings/marutter_pubkey.gpg

# rm --force --recursive /var/lib/apt/lists/*
# EOF
echo "deb [signed-by=/etc/apt/keyrings/marutter_pubkey.gpg] https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/" > /etc/apt/sources.list.d/cran.list

# # MINIMAL NOTEBOOK
# RUN <<EOF
# apt-get update --yes
apt-get update --yes

# apt-get install --yes \
# "less=590-2ubuntu2.1" \
# "texlive-xetex=2023.20240207-1" \
# "texlive-fonts-recommended=2023.20240207-1" \
# "texlive-plain-generic=2023.20240207-1"
apt-get install --yes "r-base=${R_VERSION}"

# apt-get clean --yes
apt-get clean --yes

# rm --force --recursive /var/lib/apt/lists/*
# EOF
rm --force --recursive marutter_pubkey.asc marutter_pubkey.gpg /var/lib/apt/lists/*
EOF

USER ${CONTAINER_USER}
WORKDIR /home/${CONTAINER_USER}
Expand Down
28 changes: 0 additions & 28 deletions IMAGE.md

This file was deleted.

0 comments on commit c2bf57d

Please sign in to comment.