@@ -6,19 +6,19 @@ RUN apt-get update \
66 && apt-get install -y \
77 wget tar libssl1.0-dev libxml2-dev make g++
88RUN cd /tmp \
9- && wget https://github.com/downloads/mackyle/xar/xar-1.6.1.tar.gz \
10- && tar -zxvf xar-1.6.1.tar.gz > /dev/null \
9+ && wget https://github.com/downloads/mackyle/xar/xar-1.6.1.tar.gz 2>&1 \
10+ && tar -zxvf xar-1.6.1.tar.gz 2>&1 \
1111 && mv xar-1.6.1 xar \
1212 && cd xar \
13- && ./configure > /dev/null \
14- && make > /dev/null \
15- && make install > /dev/null
13+ && ./configure 2>&1 \
14+ && make 2>&1 \
15+ && make install 2>&1
1616
1717FROM goflutter/golang-cross:latest AS hover
1818
1919# Add dart apt repository
20- RUN sh -c ' wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' \
21- && sh -c ' wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
20+ RUN wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - 2>&1 \
21+ && wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list
2222
2323# Install dependencies via apt
2424RUN apt-get update \
@@ -50,10 +50,10 @@ RUN apt-get update \
5050# Install darwin-pkg dependencies
5151# TODO, optimization: make bomutils in a separate stage, copy binaries/libs, like xar.
5252RUN cd /tmp \
53- && git clone https://github.com/hogliux/bomutils \
53+ && git clone https://github.com/hogliux/bomutils 2>&1 \
5454 && cd bomutils \
55- && make > /dev/null \
56- && make install > /dev/null
55+ && make 2>&1 \
56+ && make install 2>&1
5757COPY --from=xarbuilder /usr/local/bin/xar /usr/local/bin/xar
5858COPY --from=xarbuilder /usr/local/lib/libxar.so.1 /usr/local/lib/libxar.so.1
5959COPY --from=xarbuilder /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
@@ -85,15 +85,15 @@ ENV SNAP_ARCH="amd64"
8585# TODO: Add pacman pkg packaging
8686
8787# Install Flutter from the beta channel
88- RUN git clone --single-branch --depth=1 --branch beta https://github.com/flutter/flutter /opt/flutter \
88+ RUN git clone --single-branch --depth=1 --branch beta https://github.com/flutter/flutter /opt/flutter 2>&1 \
8989 && ln -sf /opt/flutter/bin/flutter /usr/bin/flutter \
9090 && flutter doctor -v
9191
9292# Build hover
9393WORKDIR /go/src/app
9494COPY . .
95- RUN go get -d -v ./...
96- RUN go install -v ./...
95+ RUN go get -d -v ./... 2>&1
96+ RUN go install -v ./... 2>&1
9797
9898COPY docker/hover-safe.sh /usr/local/bin/hover-safe.sh
9999
0 commit comments