Last active
February 3, 2024 09:58
-
-
Save finestructure/7d99984f744dc9f36da7b1f26def4525 to your computer and use it in GitHub Desktop.
Pkl dockerfile
This file contains 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 swift:5.9-slim | |
RUN apt-get update && apt-get -y install curl fish | |
ARG PKL_VERSION=0.25.1 | |
RUN curl -L -o /usr/local/bin/pkl https://github.com/apple/pkl/releases/download/${PKL_VERSION}/pkl-linux-aarch64 && chmod +x /usr/local/bin/pkl | |
# requires Swift runtime libraries, that's why the base image is swift:5.9-slim | |
ARG PKL_GEN_SWIFT_VERSION=0.2.1 | |
RUN curl -L -o /usr/local/bin/pkl-gen-swift https://github.com/apple/pkl-swift/releases/download/${PKL_GEN_SWIFT_VERSION}/pkl-gen-swift-linux-aarch64.bin && chmod +x /usr/local/bin/pkl-gen-swift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: