Skip to content

Instantly share code, notes, and snippets.

@ykarikos
Last active March 22, 2020 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ykarikos/1d14685307636b3391df38441ce30aa3 to your computer and use it in GitHub Desktop.
Save ykarikos/1d14685307636b3391df38441ce30aa3 to your computer and use it in GitHub Desktop.
Dockerfile for Planck build
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