FROM forgeflux/ftest:latest as base RUN echo foo FROM debian:bookworm RUN apt update RUN apt-get -y --no-install-recommends install gpg tar curl wget WORKDIR /src COPY --from=base /usr/local/bin/ftest . COPY . . ARG RELEASE_BOT_GPG_SIGNING_KEY RUN echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" RUN echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback env GPG_PASSWORD=$GPG_PASSWORD RUN /src/scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD