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
|
||||
|
||||
ENV CHICKEN_VERSION 5.1.0
|
||||
ENV CHICKEN_VERSION 5.2.0
|
||||
ENV PLATFORM linux
|
||||
|
||||
RUN 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 / && \
|
||||
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
|
@ -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