Skip to content

Commit

Permalink
clean apt caches
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 11, 2023
1 parent e0d7ead commit df61f10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN \
apt-get -y dist-upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -yq install r-base-dev \
locales cloc curl parallel vim wget debian-keyring git \
libnode-dev libarchive-dev
libnode-dev libarchive-dev &&\
apt-get clean

RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
Expand All @@ -23,7 +24,8 @@ RUN curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xfe6b0f6d941769
RUN \
echo "deb http://statmath.wu.ac.at/AASC/debian testing main non-free" > /etc/apt/sources.list.d/rcheckserver.list && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -yq install rcheckserver
DEBIAN_FRONTEND=noninteractive apt-get -yq install rcheckserver &&\
apt-get clean

# ADD entrypoint.sh /entrypoint.sh
# ENTRYPOINT ["/entrypoint.sh"]
Expand Down
6 changes: 4 additions & 2 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ RUN \
curl https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc && \
add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -yq install r-base-dev language-pack-en-base cloc curl parallel vim wget debian-keyring
DEBIAN_FRONTEND=noninteractive apt-get -yq install r-base-dev language-pack-en-base cloc curl parallel vim wget debian-keyring &&\
apt-get clean

ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
Expand All @@ -20,7 +21,8 @@ RUN touch /usr/share/man/man3/MPI_Comm_set_name_lam4-dev.3.gz
# install rcheckserver
RUN echo "deb http://statmath.wu.ac.at/AASC/debian testing main non-free" > /etc/apt/sources.list.d/rcheckserver.list && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -yq install rcheckserver
DEBIAN_FRONTEND=noninteractive apt-get -yq install rcheckserver &&\
apt-get clean

## Set a default user. Available via runtime flag
## Add user to 'staff' group, granting them write privileges to
Expand Down

0 comments on commit df61f10

Please sign in to comment.