From ee794e60da121a25a2aa31948657cd54027adebb Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Thu, 18 Mar 2021 11:53:20 +0100 Subject: [PATCH 1/2] Dockerfile: fix apt error > E: The method driver /usr/lib/apt/methods/https could not be found. For https sources or redirects. --- bitbox-bridge/release/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bitbox-bridge/release/Dockerfile b/bitbox-bridge/release/Dockerfile index 5e67289..7796f45 100644 --- a/bitbox-bridge/release/Dockerfile +++ b/bitbox-bridge/release/Dockerfile @@ -9,7 +9,9 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \ cmake \ curl \ wget \ - software-properties-common + software-properties-common \ + apt-transport-https \ + ca-certificates ############################## From 3067583aa63d1c695062580b82d42c916be1c448 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Thu, 18 Mar 2021 11:53:59 +0100 Subject: [PATCH 2/2] Dockerfile: bump Rust to toolchain 1.50.0 --- bitbox-bridge/release/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbox-bridge/release/Dockerfile b/bitbox-bridge/release/Dockerfile index 7796f45..2e2df3c 100644 --- a/bitbox-bridge/release/Dockerfile +++ b/bitbox-bridge/release/Dockerfile @@ -72,7 +72,7 @@ RUN cd /opt/osxcross && UNATTENDED=yes OSX_VERSION_MIN=10.7 ./build.sh # Rust compiler ENV PATH /opt/cargo/bin:$PATH ENV RUSTUP_HOME=/opt/rustup -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --profile minimal --default-toolchain 1.41.0 -y +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --profile minimal --default-toolchain 1.50.0 -y RUN rustup target add x86_64-pc-windows-gnu RUN rustup target add x86_64-apple-darwin