Skip to content

Commit

Permalink
chore: Revert back and install docker in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Jun 4, 2024
1 parent 46169d9 commit ce2d5bb
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions cargo/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@ VERSION 0.8

PROJECT blue-build/earthly-lib

IMPORT github.com/earthly/lib/utils/dind AS dind

build:
FROM rust
RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install -y --no-install-recommends --no-install-suggests \
musl-dev \
musl-dev:arm64 \
gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabihf \
g++-aarch64-linux-gnu \
musl-tools \
jq && \
apt-get clean && \
rustup component add clippy && \
rustup target add x86_64-unknown-linux-musl aarch64-unknown-linux-musl aarch64-unknown-linux-gnu
RUN apt-get update && \
apt-get install -y jq && \
rustup component add clippy

RUN cargo install --root $CARGO_HOME --locked cargo-sweep git-cliff cargo-release

DO dind+INSTALL
SAVE IMAGE --push ghcr.io/blue-build/earthly-lib/cargo-builder

0 comments on commit ce2d5bb

Please sign in to comment.