Update to latest chicken version
parent
c879e3f7e0
commit
aa9e33b18c
@ -1,22 +0,0 @@
|
|||||||
FROM alpine:3.11
|
|
||||||
|
|
||||||
ENV CHICKEN_VERSION 5.1.0
|
|
||||||
ENV PLATFORM linux
|
|
||||||
|
|
||||||
RUN apk update && \
|
|
||||||
apk --no-cache --update add build-base && \
|
|
||||||
wget -qO- https://code.call-cc.org/releases/$CHICKEN_VERSION/chicken-$CHICKEN_VERSION.tar.gz | tar xzv && \
|
|
||||||
cd /chicken-$CHICKEN_VERSION && \
|
|
||||||
make PLATFORM=$PLATFORM && \
|
|
||||||
make PLATFORM=$PLATFORM install && \
|
|
||||||
make PLATFORM=$PLATFORM check && \
|
|
||||||
cd / && \
|
|
||||||
rm -rf /chicken-$CHICKEN_VERSION
|
|
||||||
|
|
||||||
# install project assembly tool
|
|
||||||
COPY chicken-assemble.scm /usr/bin/chicken-assemble
|
|
||||||
RUN chicken-install clojurian:3 \
|
|
||||||
records \
|
|
||||||
srfi-1 \
|
|
||||||
srfi-69 && \
|
|
||||||
chmod a+x /usr/bin/chicken-assemble
|
|
@ -0,0 +1,23 @@
|
|||||||
|
FROM alpine:3.12
|
||||||
|
|
||||||
|
ENV CHICKEN_VERSION 5.2.0
|
||||||
|
ENV PLATFORM linux
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
apk update; \
|
||||||
|
apk --no-cache --update add build-base; \
|
||||||
|
wget -qO- https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv; \
|
||||||
|
cd /chicken-${CHICKEN_VERSION}; \
|
||||||
|
make PLATFORM=${PLATFORM}; \
|
||||||
|
make PLATFORM=${PLATFORM} install; \
|
||||||
|
make PLATFORM=${PLATFORM} check; \
|
||||||
|
cd /; \
|
||||||
|
rm -rf /chicken-${CHICKEN_VERSION}
|
||||||
|
|
||||||
|
# install project assembly tool
|
||||||
|
COPY chicken-assemble.scm /usr/bin/chicken-assemble
|
||||||
|
RUN chicken-install clojurian:3 \
|
||||||
|
records \
|
||||||
|
srfi-1 \
|
||||||
|
srfi-69 && \
|
||||||
|
chmod a+x /usr/bin/chicken-assemble
|
@ -0,0 +1,23 @@
|
|||||||
|
FROM centos:8
|
||||||
|
|
||||||
|
ENV CHICKEN_VERSION 5.2.0
|
||||||
|
ENV PLATFORM linux
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
yum install -y gcc gcc-c++ make diffutils; \
|
||||||
|
yum clean all; \
|
||||||
|
curl -sS https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv; \
|
||||||
|
cd /chicken-${CHICKEN_VERSION}; \
|
||||||
|
make PLATFORM=${PLATFORM}; \
|
||||||
|
make PLATFORM=${PLATFORM} install; \
|
||||||
|
make PLATFORM=${PLATFORM} check; \
|
||||||
|
cd /; \
|
||||||
|
rm -rf /chicken-${CHICKEN_VERSION}
|
||||||
|
|
||||||
|
# install project assembly tool
|
||||||
|
COPY chicken-assemble.scm /usr/bin/chicken-assemble
|
||||||
|
RUN chicken-install clojurian:3 \
|
||||||
|
records \
|
||||||
|
srfi-1 \
|
||||||
|
srfi-69 && \
|
||||||
|
chmod a+x /usr/bin/chicken-assemble
|
@ -1,16 +1,17 @@
|
|||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
|
|
||||||
ENV CHICKEN_VERSION 5.1.0
|
ENV CHICKEN_VERSION 5.2.0
|
||||||
ENV PLATFORM linux
|
ENV PLATFORM linux
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN set -eux; \
|
||||||
apt-get install -y wget build-essential && \
|
apt-get update; \
|
||||||
wget -qO- https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv && \
|
apt-get install -y wget build-essential; \
|
||||||
cd /chicken-${CHICKEN_VERSION} && \
|
wget -qO- https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv; \
|
||||||
make PLATFORM=${PLATFORM} && \
|
cd /chicken-${CHICKEN_VERSION}; \
|
||||||
make PLATFORM=${PLATFORM} install && \
|
make PLATFORM=${PLATFORM}; \
|
||||||
make PLATFORM=${PLATFORM} check && \
|
make PLATFORM=${PLATFORM} install; \
|
||||||
cd / && \
|
make PLATFORM=${PLATFORM} check; \
|
||||||
|
cd /; \
|
||||||
rm -rf /chicken-${CHICKEN_VERSION}
|
rm -rf /chicken-${CHICKEN_VERSION}
|
||||||
|
|
||||||
# install project assembly tool
|
# install project assembly tool
|
@ -0,0 +1,23 @@
|
|||||||
|
FROM ubuntu:focal
|
||||||
|
|
||||||
|
ENV CHICKEN_VERSION 5.2.0
|
||||||
|
ENV PLATFORM linux
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y wget build-essential; \
|
||||||
|
wget -qO- https://code.call-cc.org/releases/${CHICKEN_VERSION}/chicken-${CHICKEN_VERSION}.tar.gz | tar xzv; \
|
||||||
|
cd /chicken-${CHICKEN_VERSION}; \
|
||||||
|
make PLATFORM=${PLATFORM}; \
|
||||||
|
make PLATFORM=${PLATFORM} install; \
|
||||||
|
make PLATFORM=${PLATFORM} check; \
|
||||||
|
cd /; \
|
||||||
|
rm -rf /chicken-${CHICKEN_VERSION}
|
||||||
|
|
||||||
|
# install project assembly tool
|
||||||
|
COPY chicken-assemble.scm /usr/bin/chicken-assemble
|
||||||
|
RUN chicken-install clojurian:3 \
|
||||||
|
records \
|
||||||
|
srfi-1 \
|
||||||
|
srfi-69 && \
|
||||||
|
chmod a+x /usr/bin/chicken-assemble
|
Loading…
Reference in New Issue