Skip to content
Snippets Groups Projects
Commit 90a190cf authored by Peng Lian's avatar Peng Lian
Browse files

Add Quarto 1.3.450

parent 41af1157
Branches
No related merge requests found
FROM ubuntu:20.04
LABEL CONTAINER_VERSION="0.0.2" \
AUTHOR="Peng Lian" \
EMAIL="biohpc-help@utsouthwestern.edu"
# build-time varialbes
ARG http_proxy=http://proxy.swmed.edu:3128/
ARG https_proxy=http://proxy.swmed.edu:3128/
ARG no_proxy="*.swmed.edu,*.swmed.org,*.utsouthwestern.edu,localhost,127.0.0.1/8"
ENV http_proxy="${http_proxy}" \
https_proxy="${https_proxy}" \
no_proxy="${no_proxy}"
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
locales \
curl \
pip \
jupyter \
python3-numpy \
python3-matplotlib \
&& \
\
apt-get autoclean -y && \
apt-get autoremove -y && \
rm -rf /var/cache/apt /var/lib/apt/lists
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
pandoc \
texlive-xetex \
libnss3 \
libnspr4 \
libgtk-3-dev \
libx11-dev \
libxrandr-dev \
libpulse-dev \
libcairo2-dev \
libthai0 \
libthai-data \
xfonts-scalable \
libasound2 \
&& \
\
apt-get autoclean -y && \
apt-get autoremove -y && \
rm -rf /var/cache/apt /var/lib/apt/lists
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
build-essential \
r-base-core \
wkhtmltopdf \
&& \
\
Rscript -e 'install.packages("rmarkdown")' && \
apt-get purge -y build-essential && \
apt-get autoclean -y && \
apt-get autoremove -y && \
rm -rf /var/cache/apt /var/lib/apt/lists
RUN pip install nbclient matplotlib-inline
ENV LANG en_US.UTF-8
RUN locale-gen en_US.UTF-8
ARG PANDOC_VERSION="3.1.4"
RUN curl -o pandoc-linux-amd64.deb -L https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb && \
dpkg -i pandoc-linux-amd64.deb && \
rm -f pandoc-linux-amd64.deb
ARG QUARTO_VERSION="1.3.450"
RUN 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 && \
dpkg -i quarto-linux-amd64.deb && \
rm -f quarto-linux-amd64.deb
RUN quarto tools install chromium && \
quarto tools list
RUN chmod 755 -R /root/
RUN /usr/local/bin/quarto check
...@@ -9,10 +9,10 @@ export DOCKER_BUILDKIT=0 ...@@ -9,10 +9,10 @@ export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0 export COMPOSE_DOCKER_CLI_BUILD=0
# build with proxy settings # build with proxy settings
docker build -f ./${VERSION}/Dockerfile -t ${CONTAINER_TAG} ./${VERSION} &> build_and_push-${VERSION}.log docker build -f ./${VERSION}/Dockerfile -t ${CONTAINER_NAME} ./${VERSION} &> build_and_push-${VERSION}.log
# docker login # docker login
# Please create your person "Acess token" and config the "~/.docker/config.json" to login automatically # Please create your person "Access token" and config the "~/.docker/config.json" to login automatically
# Tag and push # Tag and push
docker tag ${CONTAINER_TAG} ${CONTAINER_NAME} docker tag ${CONTAINER_TAG} ${CONTAINER_NAME}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment