@@ -6,11 +6,11 @@ RUN apt-get update
6
6
RUN apt-get install -y curl gnupg
7
7
8
8
# 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 - && \
10
10
apt-get install -y nodejs
11
11
12
12
# 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 - && \
14
14
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
15
15
apt-get update && apt-get install -y yarn
16
16
@@ -24,27 +24,27 @@ RUN apt-get install -y build-essential \
24
24
RUN apt-get install -y gettext-base
25
25
26
26
# Misc build dependencies.
27
- RUN apt-get install -y git rsync
27
+ RUN apt-get install -y git rsync unzip
28
28
29
29
# We need latest jq from debian buster for date support.
30
30
RUN 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 && \
32
32
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 && \
34
34
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 && \
36
36
dpkg -i jq*.deb && rm *.deb
37
37
38
38
# Installs shellcheck.
39
39
# 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 | \
41
41
# tar -xJ && \
42
42
# mv shellcheck*/shellcheck /usr/local/bin && \
43
43
# rm -R shellcheck*
44
44
45
45
# Install Go dependencies
46
46
RUN 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
48
48
ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
49
49
ENV GO111MODULE=on
50
50
RUN go get mvdan.cc/sh/v3/cmd/shfmt
0 commit comments