Skip to content

Commit

Permalink
Move DEBIAN_FRONTEND to before update
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamc1 committed Mar 22, 2023
1 parent 9c17d20 commit 07dc316
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contrib/dockerfiles/x86_64-apple-darwin18.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ ARG TARGET
LABEL org.defichain.name="defichain-builder-base"
LABEL org.defichain.arch=${TARGET}

RUN export DEBIAN_FRONTEND=noninteractive
RUN apt update && apt dist-upgrade -y

# Setup DeFiChain build dependencies. Refer to depends/README.md and doc/build-unix.md
# from the source root for info on the builder setup

RUN export DEBIAN_FRONTEND=noninteractive
RUN apt install -y software-properties-common build-essential git libtool autotools-dev automake \
pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev \
libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev \
Expand Down
2 changes: 1 addition & 1 deletion contrib/dockerfiles/x86_64-pc-linux-gnu-clang.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN ./make.sh purge && rm -rf ./depends
COPY --from=depends-builder /work/depends ./depends

RUN ./make.sh clean && ./autogen.sh
RUN export MAKE_COMPILER="CC=clang-14 CCX=clang++-14" && \
RUN export MAKE_COMPILER="CC=clang-16 CCX=clang++-16" && \
./make.sh build-conf && ./make.sh build-make

RUN mkdir /app && make prefix=/ DESTDIR=/app install && cp /work/README.md /app/.
Expand Down
3 changes: 1 addition & 2 deletions contrib/dockerfiles/x86_64-w64-mingw32.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ ARG TARGET
LABEL org.defichain.name="defichain-builder-base"
LABEL org.defichain.arch=${TARGET}

RUN apt update && apt dist-upgrade -y
RUN export DEBIAN_FRONTEND=noninteractive && apt update && apt dist-upgrade -y

# Setup DeFiChain build dependencies. Refer to depends/README.md and doc/build-unix.md
# from the source root for info on the builder setup

RUN export DEBIAN_FRONTEND=noninteractive
RUN apt install -y software-properties-common build-essential git libtool autotools-dev automake \
pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev \
libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev \
Expand Down

0 comments on commit 07dc316

Please sign in to comment.