Skip to content

Instantly share code, notes, and snippets.

@ykarikos

ykarikos/Dockerfile

Last active Mar 22, 2020
Embed
What would you like to do?
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