combine several apt install calls
This commit is contained in:
parent
0e1db36457
commit
bcf2cfcada
@ -11,14 +11,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update \
|
||||
&& apt-get install wget gnupg2 lsb-core -y \
|
||||
&& apt-get install -y wget gnupg2 lsb-core apt-transport-https ca-certificates curl \
|
||||
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
||||
&& echo "deb [ trusted=yes ] https://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y apt-transport-https ca-certificates
|
||||
|
||||
RUN apt-get install -y curl \
|
||||
&& wget --quiet -O - https://deb.nodesource.com/setup_10.x | bash - \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
|
Loading…
Reference in New Issue
Block a user