This repository was archived by the owner on Dec 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1- FROM rust:bookworm as clarinet
1+ FROM rust:alpine as clarinet
22
3- RUN apt update && apt install -y pkg-config libssl-dev clang && \
4- rm -rf /var/lib/apt/lists/*
3+ RUN apk add --no-cache g++ musl-dev git openssl-dev clang-dev
54
65RUN cargo install clarinet-cli --bin clarinet --branch develop --locked --git https://github.com/hirosystems/clarinet.git
76
8- FROM rust:bookworm as romeo
7+ FROM rust:alpine as romeo
98
10- RUN apt update && apt install -y g++ libssl-dev clang libsecp256k1-dev && \
11- rm -rf /var/lib/apt/lists/*
9+ RUN apk add --no-cache g++ musl-dev git openssl-dev clang-dev libsecp256k1-dev
1210
1311RUN cargo install --locked cargo-make
1412
@@ -19,10 +17,9 @@ ENV RUSTFLAGS "-C target-feature=-crt-static"
1917RUN cargo install --locked --path sbtc-cli
2018RUN cargo install --locked --path romeo
2119
22- FROM rust:slim-bookworm
20+ FROM alpine:latest
2321
24- RUN apt update && apt install -y openssl libsecp256k1-dev curl jq && \
25- rm -rf /var/lib/apt/lists/*
22+ RUN apk add --no-cache g++ openssl libsecp256k1 curl jq
2623
2724COPY --from=clarinet /usr/local/cargo/bin/clarinet /usr/local/bin
2825COPY --from=romeo /usr/local/cargo/bin/sbtc /usr/local/bin
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
1+ #! /usr/bin/env sh
22
33set -euo > /dev/null
44
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- if [ $? -eq 0 ]
4- then
3+ if [ $? -eq 0 ]; then
54 docker compose up -d
65else
76 echo " Build failed, not starting devenv"
You can’t perform that action at this time.
0 commit comments