Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/actions/dockerfiles/Dockerfile.alpine-binary

This file was deleted.

39 changes: 0 additions & 39 deletions .github/actions/dockerfiles/Dockerfile.debian-binary

This file was deleted.

18 changes: 18 additions & 0 deletions .github/actions/dockerfiles/alpine/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM alpine AS builder

ARG TARGETPLATFORM
ENV ARCHIVE_ROOT="/release"

# upload the release artifacts downloaded to /tmp/release to /release in the build stage
COPY ./release/ $ARCHIVE_ROOT

RUN case ${TARGETPLATFORM} in \
linux/amd64*) ARCHIVE=${ARCHIVE_ROOT}/linux-musl-x64.zip ;; \
linux/arm64*) ARCHIVE=${ARCHIVE_ROOT}/linux-musl-arm64.zip ;; \
*) exit 1 ;; \
esac \
&& unzip "$ARCHIVE" "stacks-node" -d /out

FROM alpine
COPY --from=builder /out/* /bin/
CMD ["/bin/stacks-node run --config /signer-config.toml"]
20 changes: 20 additions & 0 deletions .github/actions/dockerfiles/alpine/Dockerfile.release.signer
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM alpine AS builder

LABEL org.opencontainers.image.description="Stacks Signer CLI"

ARG TARGETPLATFORM
ENV ARCHIVE_ROOT="/release"

# upload the release artifacts downloaded to /tmp/release to /release in the build stage
COPY ./release/ $ARCHIVE_ROOT

RUN case ${TARGETPLATFORM} in \
linux/amd64*) ARCHIVE=${ARCHIVE_ROOT}/linux-musl-x64.zip ;; \
linux/arm64*) ARCHIVE=${ARCHIVE_ROOT}/linux-musl-arm64.zip ;; \
*) exit 1 ;; \
esac \
&& unzip "$ARCHIVE" "stacks-signer" -d /out

FROM alpine
COPY --from=builder /out/* /bin/
CMD ["/bin/stacks-signer run --config /signer-config.toml"]
19 changes: 19 additions & 0 deletions .github/actions/dockerfiles/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Dockerfile used to build an image including all binaries
FROM alpine AS builder

ARG TARGETPLATFORM
ENV ARCHIVE_ROOT="/release"

# upload the release artifacts downloaded to /tmp/release to /release in the build stage
COPY ./release/ $ARCHIVE_ROOT

RUN case ${TARGETPLATFORM} in \
linux/amd64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-x64.zip ;; \
linux/arm64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-arm64.zip ;; \
*) exit 1 ;; \
esac \
&& unzip "$ARCHIVE" -d /out

FROM debian:stable-slim
COPY --from=builder /out/* /bin/
CMD ["/bin/stacks-node mainnet"]
18 changes: 18 additions & 0 deletions .github/actions/dockerfiles/debian/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM alpine AS builder

ARG TARGETPLATFORM
ENV ARCHIVE_ROOT="/release"

# upload the release artifacts downloaded to /tmp/release to /release in the build stage
COPY ./release/ $ARCHIVE_ROOT

RUN case ${TARGETPLATFORM} in \
linux/amd64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-x64.zip ;; \
linux/arm64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-arm64.zip ;; \
*) exit 1 ;; \
esac \
&& unzip "$ARCHIVE" "stacks-node" -d /out

FROM debian:stable-slim
COPY --from=builder /out/* /bin/
CMD ["/bin/stacks-signer run --config /signer-config.toml"]
19 changes: 19 additions & 0 deletions .github/actions/dockerfiles/debian/Dockerfile.release.signer
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM alpine AS builder
LABEL org.opencontainers.image.description="Stacks Signer CLI"

ARG TARGETPLATFORM
ENV ARCHIVE_ROOT="/release"

# upload the release artifacts downloaded to /tmp/release to /release in the build stage
COPY ./release/ $ARCHIVE_ROOT

RUN case ${TARGETPLATFORM} in \
linux/amd64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-x64.zip ;; \
linux/arm64*) ARCHIVE=${ARCHIVE_ROOT}/linux-glibc-arm64.zip ;; \
*) exit 1 ;; \
esac \
&& unzip "$ARCHIVE" "stacks-signer" -d /out

FROM debian:stable-slim
COPY --from=builder /out/* /bin/
CMD ["/bin/stacks-signer run --config /signer-config.toml"]
70 changes: 0 additions & 70 deletions .github/workflows/atlas-tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
tests::nakamoto_integrations::large_mempool_next_constant_fee
tests::nakamoto_integrations::large_mempool_next_random_fee
tests::nakamoto_integrations::larger_mempool
tests::nakamoto_integrations::check_block_info_rewards
tests::signer::v0::larger_mempool
EOF

Expand Down
Loading
Loading