-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docker image. Updated quarto, added new R pkgs for updated lab.
- Loading branch information
1 parent
0f1ae39
commit 56bed77
Showing
2 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# DOCKER FILE FOR WORKSHOP-NGSINTRO | ||
# 2025 Roy Francis | ||
|
||
FROM rocker/verse:4.4 | ||
FROM ghcr.io/rocker-org/verse:4.4.3 | ||
LABEL Description="Docker image for NBIS workshop" | ||
LABEL Maintainer="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/NBISweden/workshop-ngsintro" | ||
#ARG QUARTO_VERSION="1.6.40" | ||
ARG QUARTO_VERSION="1.6.42" | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get clean \ | ||
|
@@ -19,9 +19,9 @@ RUN apt-get update -y \ | |
#&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ | ||
#&& apt-get install -y ./google-chrome-stable_current_amd64.deb \ | ||
#&& rm -rf ./google-chrome-stable_current_amd64.deb \ | ||
#&& curl -o quarto-linux-amd64.deb -L https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb \ | ||
#&& apt-get install -y ./quarto-linux-amd64.deb \ | ||
#&& rm -rf ./quarto-linux-amd64.deb \ | ||
&& curl -o quarto-linux-amd64.deb -L https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb \ | ||
&& apt-get install -y ./quarto-linux-amd64.deb \ | ||
&& rm -rf ./quarto-linux-amd64.deb \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& install2.r --error --skipinstalled remotes fontawesome here htmlTable leaflet readxl writexl \ | ||
&& rm -rf /tmp/downloaded_packages \ | ||
|
@@ -38,5 +38,9 @@ WORKDIR /qmd | |
#ENV XDG_DATA_HOME=/tmp/quarto_data_home | ||
CMD ["quarto", "render"] | ||
|
||
# docker build --platform linux/amd64 -t ghcr.io/nbisweden/workshop-ngsintro:2.3.0 -t ghcr.io/nbisweden/workshop-ngsintro:latest . | ||
# local build | ||
# docker build --platform linux/amd64 -t ghcr.io/nbisweden/workshop-ngsintro:2.5.0 -t ghcr.io/nbisweden/workshop-ngsintro:latest . | ||
# multiplatform build and push to repository (doesn't work) | ||
# docker buildx build --platform=linux/arm64,linux/amd64 -t ghcr.io/nbisweden/workshop-ngsintro:2.5.0 -t ghcr.io/nbisweden/workshop-ngsintro:latest --push -f Dockerfile . | ||
# build singularity | ||
# docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/work kaczmarj/apptainer build ngsintro.sif docker://ghcr.io/nbisweden/workshop-ngsintro:latest |