@@ -6,11 +6,11 @@ RUN apt-get update
66RUN apt-get install -y curl gnupg
77
88# Installs node.
9- RUN curl -sSL https://deb.nodesource.com/setup_14.x | bash - && \
9+ RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && \
1010 apt-get install -y nodejs
1111
1212# Installs yarn.
13- RUN curl -sSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
13+ RUN curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
1414 echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
1515 apt-get update && apt-get install -y yarn
1616
@@ -24,27 +24,27 @@ RUN apt-get install -y build-essential \
2424RUN apt-get install -y gettext-base
2525
2626# Misc build dependencies.
27- RUN apt-get install -y git rsync
27+ RUN apt-get install -y git rsync unzip
2828
2929# We need latest jq from debian buster for date support.
3030RUN ARCH="$(dpkg --print-architecture)" && \
31- curl -sSOL http://http.us.debian.org/debian/pool/main/libo/libonig/libonig5_6.9.1-1_$ARCH.deb && \
31+ curl -fsSOL http://http.us.debian.org/debian/pool/main/libo/libonig/libonig5_6.9.1-1_$ARCH.deb && \
3232 dpkg -i libonig*.deb && \
33- curl -sSOL http://http.us.debian.org/debian/pool/main/j/jq/libjq1_1.5+dfsg-2+b1_$ARCH.deb && \
33+ curl -fsSOL http://http.us.debian.org/debian/pool/main/j/jq/libjq1_1.5+dfsg-2+b1_$ARCH.deb && \
3434 dpkg -i libjq*.deb && \
35- curl -sSOL http://http.us.debian.org/debian/pool/main/j/jq/jq_1.5+dfsg-2+b1_$ARCH.deb && \
35+ curl -fsSOL http://http.us.debian.org/debian/pool/main/j/jq/jq_1.5+dfsg-2+b1_$ARCH.deb && \
3636 dpkg -i jq*.deb && rm *.deb
3737
3838# Installs shellcheck.
3939# Unfortunately coredumps on debian:8 so disabled for now.
40- # RUN curl -sSL https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.$(uname -m).tar.xz | \
40+ # RUN curl -fsSL https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.$(uname -m).tar.xz | \
4141# tar -xJ && \
4242# mv shellcheck*/shellcheck /usr/local/bin && \
4343# rm -R shellcheck*
4444
4545# Install Go dependencies
4646RUN ARCH="$(dpkg --print-architecture)" && \
47- curl -sSL "https://dl.google.com/go/go1.14.3.linux-$ARCH.tar.gz" | tar -C /usr/local -xz
47+ curl -fsSL "https://dl.google.com/go/go1.14.3.linux-$ARCH.tar.gz" | tar -C /usr/local -xz
4848ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
4949ENV GO111MODULE=on
5050RUN go get mvdan.cc/sh/v3/cmd/shfmt
0 commit comments