-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge apt-get update and apt-get install build layers -- install will…
… not work on out-of-date update data
- Loading branch information
Showing
1 changed file
with
3 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,13 @@ LABEL maintainer "Daniel Park <[email protected]>" | |
# non-interactive session just for build | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# update apt database and install R apt repo | ||
# update apt database and install R apt repo; install all desired packages | ||
RUN apt-get update && \ | ||
apt-get -y -qq install software-properties-common && \ | ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \ | ||
add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/' && \ | ||
apt-get update | ||
|
||
# install all desired packages | ||
RUN apt-get -y -qq install \ | ||
apt-get update && \ | ||
apt-get -y -qq install \ | ||
less nano vim git wget curl jq zstd pigz parallel locales \ | ||
gnupg libssl-dev libcurl4-openssl-dev \ | ||
libgsl-dev libxml2 libxml2-dev \ | ||
|