Last active
March 22, 2020 22:01
-
-
Save ykarikos/1d14685307636b3391df38441ce30aa3 to your computer and use it in GitHub Desktop.
Dockerfile for Planck build
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.11 | |
RUN apk update && \ | |
apk upgrade && \ | |
apk add --no-cache curl \ | |
netcat-openbsd \ | |
openjdk11 \ | |
bash | |
# Download & install clojure | |
ENV CLOJURE_VERSION="1.10.1.466" | |
ENV CLOJURE_INSTALLER="/tmp/install-clojure.sh" | |
RUN curl -L https://download.clojure.org/install/linux-install-${CLOJURE_VERSION}.sh \ | |
-o ${CLOJURE_INSTALLER} && \ | |
chmod +x ${CLOJURE_INSTALLER} && \ | |
${CLOJURE_INSTALLER} && \ | |
clojure --help | |
RUN apk add --no-cache gcc make cmake pkgconf unzip curl-dev libzip-dev webkit2gtk perl-utils musl-dev webkit2gtk-dev | |
# Build | |
# $ docker build . -t planck-build | |
# Run and mount planck git repository | |
# $ docker run -it --rm -v `pwd`/planck:/root/planck planck-build /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment