xrsh/Dockerfile
Leon van Kammen 39e0a1356f
Some checks failed
/ mirror_to_github (push) Failing after 1s
/ test (push) Successful in 6s
added Dockerfile
2025-01-21 16:38:42 +01:00

19 lines
373 B
Docker

FROM alpine:latest as build
RUN apk add --update zip bash file curl
ADD xrsh.com /
RUN curl -o assimilate https://cosmo.zip/pub/cosmos/bin/assimilate && \
chmod +x assimilate && \
./assimilate /xrsh.com && \
file /xrsh.com
# normalize the binary to ELF
#RUN sh /xrsh.com --assimilate && file /xrsh.com
FROM scratch
COPY --from=build /xrsh.com /
CMD ["/xrsh.com"]