This gist contains armake2 Dockerfiles after I deleted the public repo
Last active
October 9, 2023 11:50
-
-
Save ArwynFr/c92441503cb466a4f7612717e757029c to your computer and use it in GitHub Desktop.
armake2 dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine:3.10.2 as build | |
| WORKDIR /armake2-master | |
| COPY . . | |
| RUN apk add --no-cache libressl-dev=2.7.5-r0 | |
| RUN apk add --no-cache cargo=1.34.2-r1 | |
| RUN cargo build --release | |
| FROM alpine:3.10.2 | |
| RUN apk add --no-cache libressl=2.7.5-r0 && \ | |
| apk add --no-cache libgcc=8.3.0-r0 | |
| COPY --from=build /armake2-master/target/release/armake2 /usr/bin/armake2 | |
| ENTRYPOINT [ "/usr/bin/armake2" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:10.0-slim as build | |
| RUN apt-get update --yes | |
| RUN apt-get install --yes --no-install-recommends libssl-dev=1.1.1c-1 | |
| RUN apt-get install --yes --no-install-recommends cargo=0.35.0-2 | |
| RUN apt-get install --yes --no-install-recommends pkg-config=0.29-6 | |
| RUN apt-get install --yes --no-install-recommends ca-certificates | |
| WORKDIR /armake2-master | |
| COPY . . | |
| RUN cargo build --release | |
| FROM debian:10.0-slim | |
| RUN apt-get update --yes && \ | |
| apt-get install --yes --no-install-recommends libssl1.1=1.1.1c-1 && \ | |
| rm -rf /var/lib/apt/lists/* | |
| COPY --from=build /armake2-master/target/release/armake2 /usr/bin/armake2 | |
| ENTRYPOINT [ "/usr/bin/armake2" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment