Skip to content

Commit 008fa02

Browse files
authored
use apt-get consistently
1 parent cfef1ba commit 008fa02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
1818
subversion \
1919
&& add-apt-repository --enable-source --yes "ppa:marutter/rrutter4.0" \
2020
&& wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc \
21-
&& apt -y build-dep r-base-dev \
21+
&& apt-get update \
22+
&& apt-get build-dep r-base-dev \
2223
&& apt-get install -y r-base-dev \
2324
&& rm -rf /var/lib/apt/lists/*
2425

@@ -34,4 +35,4 @@ RUN Rscript -e "runiverse <- sprintf('r-universe.dev/bin/linux/%s-%s/%s/', \
3435
print('Packages installed.')"
3536

3637
ARG CONTAINER_VERSION
37-
ENV CONTAINER_VERSION=${CONTAINER_VERSION}
38+
ENV CONTAINER_VERSION=${CONTAINER_VERSION}

0 commit comments

Comments
 (0)