From 2ac47d5c858363ab4f4a2fa2a1ac2cbdfa3f0bfc Mon Sep 17 00:00:00 2001 From: Dedy Martadinata Supriyadi Date: Mon, 1 Aug 2022 20:35:13 +0700 Subject: [PATCH] cleanup Dockerfile.dev --- .github/workflows/Dockerfile.dev | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/Dockerfile.dev b/.github/workflows/Dockerfile.dev index 9a2b702..a52323d 100644 --- a/.github/workflows/Dockerfile.dev +++ b/.github/workflows/Dockerfile.dev @@ -1,4 +1,5 @@ FROM rust:1.62-slim-bullseye + # Set needed env path ENV PATH="/opt/aarch64-linux-musl-cross/:/opt/aarch64-linux-musl-cross/bin/:/opt/x86_64-linux-musl-cross/:/opt/x86_64-linux-musl-cross/bin/:$PATH" @@ -22,15 +23,6 @@ RUN dpkg --add-architecture arm64 && \ rm -rf /var/lib/apt/lists/* && \ rustup target add aarch64-unknown-linux-gnu -### Install build deps armhf build -#RUN dpkg --add-architecture armhf && \ -# apt update && \ -# apt install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross && \ -# apt clean && \ -# rm -rf /var/lib/apt/lists/* -### add armhf target -#RUN rustup target add rustup target add armv7-unknown-linux-gnueabihf - ### Add musl-gcc aarch64 and x86_64 RUN wget -c https://musl.cc/x86_64-linux-musl-cross.tgz && \ tar zxf ./x86_64-linux-musl-cross.tgz -C /opt && \