Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Astrocyte Container Images
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Astrocyte
Astrocyte Container Images
Commits
90a190cf
Commit
90a190cf
authored
11 months ago
by
Peng Lian
Browse files
Options
Downloads
Patches
Plain Diff
Add Quarto 1.3.450
parent
41af1157
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Quarto/1.3.450/Dockerfile
+87
-0
87 additions, 0 deletions
Quarto/1.3.450/Dockerfile
Quarto/build_and_push.sh
+2
-2
2 additions, 2 deletions
Quarto/build_and_push.sh
with
89 additions
and
2 deletions
Quarto/1.3.450/Dockerfile
0 → 100644
+
87
−
0
View file @
90a190cf
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
This diff is collapsed.
Click to expand it.
Quarto/build_and_push.sh
+
2
−
2
View file @
90a190cf
...
@@ -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 "Ac
c
ess 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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment