Commit 3369aef4 authored by Eric Timmons's avatar Eric Timmons
Browse files

CCL 1.12

parent 1e3f889f
......@@ -7,7 +7,7 @@ ARCH_MAP[amd64]=linux/amd64
ARCH_MAP[arm32v7]=linux/arm/v7
ARCH_MAP[windows-amd64]=windows/amd64
CCL_VERSION=1.11.5
CCL_VERSION=1.12
REPO=daewok/ccl
......
LATEST_VERSION = 1.11.5
LATEST_VERSION = 1.12
VERSIONS = $(notdir $(shell find versions -mindepth 1 -maxdepth 1 -type d))
LATEST_DEBIAN = debian-stretch
......
......@@ -3,10 +3,12 @@
* Supported Tags
+ =1.11.5-debian-buster=, =1.11.5-debian=, =debian-buster=, =debian=
+ =1.11.5-debian-stretch=, =debian-stretch=
+ =1.11.5-ubuntu-eoan=, =1.11.5-ubuntu=, =ubuntu-eoan=, =ubuntu=
+ =1.11.5-ubuntu-bionic=, =ubuntu-bionic=
+ =1.12-debian-buster=, =1.12-debian=, =debian-buster=, =debian=, =1.12=, =latest=
+ =1.12-debian-stretch=, =debian-stretch=
+ =1.12-ubuntu-eoan=, =1.12-ubuntu=, =ubuntu-eoan=, =ubuntu=
+ =1.12-ubuntu-bionic=, =ubuntu-bionic=
+ =1.12-windowsservercore-1909=, =1.12-windowsservercore=, =windowsservercore-1909=, =windowsservercore=, =1.12=, =latest=
+ =1.12-windowsservercore-ltsc2019=, =windowsservercore-ltsc2019=
* Quick Reference
......
......@@ -2,23 +2,28 @@ FROM debian:buster
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxx86
ARG CCL_SCRIPT=ccl64
WORKDIR /usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxx86.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl64 /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxx86.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,25 +2,28 @@ FROM debian:buster
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxarm
ARG CCL_SCRIPT=ccl
WORKDIR /usr/local/src/
ENV OPENMCL_KERNEL=armcl
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxarm.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxarm.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,23 +2,28 @@ FROM debian:stretch
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxx86
ARG CCL_SCRIPT=ccl64
WORKDIR /usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxx86.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl64 /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxx86.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,25 +2,28 @@ FROM debian:stretch
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxarm
ARG CCL_SCRIPT=ccl
WORKDIR /usr/local/src/
ENV OPENMCL_KERNEL=armcl
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxarm.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxarm.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,23 +2,28 @@ FROM ubuntu:bionic
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxx86
ARG CCL_SCRIPT=ccl64
WORKDIR /usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxx86.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl64 /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxx86.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,25 +2,28 @@ FROM ubuntu:bionic
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxarm
ARG CCL_SCRIPT=ccl
WORKDIR /usr/local/src/
ENV OPENMCL_KERNEL=armcl
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxarm.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxarm.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,23 +2,28 @@ FROM ubuntu:eoan
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxx86
ARG CCL_SCRIPT=ccl64
WORKDIR /usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxx86.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxx86.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl64 /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxx86.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
......@@ -2,25 +2,28 @@ FROM ubuntu:eoan
LABEL maintainer="etimmons@mit.edu"
ENV CCL_VERSION=1.11.5
ENV CCL_VERSION=1.12
ARG PLATFORM=linuxarm
ARG CCL_SCRIPT=ccl
WORKDIR /usr/local/src/
ENV OPENMCL_KERNEL=armcl
# hadolint ignore=DL3003,DL3008
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends wget ca-certificates \
&& wget https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& gunzip ccl-${CCL_VERSION}-linuxarm.tar.gz \
&& tar xf ccl-${CCL_VERSION}-linuxarm.tar \
&& (cd ccl && rm -rf .git && cp scripts/ccl /usr/local/bin/ccl ) \
&& rm ccl-${CCL_VERSION}-linuxarm.tar \
&& apt-get remove -y wget ca-certificates \
&& apt-get install -y --no-install-recommends curl ca-certificates build-essential m4 make \
&& curl -L https://github.com/Clozure/ccl/archive/v${CCL_VERSION}.tar.gz > v${CCL_VERSION}.tar.gz \
&& curl -L https://github.com/Clozure/ccl/releases/download/v${CCL_VERSION}/${PLATFORM}.tar.gz > ${PLATFORM}.tar.gz \
&& gunzip ${PLATFORM}.tar.gz \
&& gunzip v${CCL_VERSION}.tar.gz \
&& tar xf v${CCL_VERSION}.tar \
&& mv ccl-${CCL_VERSION} ccl \
&& ( cd ccl && tar xf ../${PLATFORM}.tar && cp scripts/$CCL_SCRIPT /usr/local/bin/ccl && ccl -b -e "(rebuild-ccl :full t)" ) \
&& rm -rf v${CCL_VERSION}.tar ${PLATFORM}.tar \
&& apt-get remove -y curl ca-certificates build-essential m4 make \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ENTRYPOINT ["ccl"]
CMD ["ccl"]
FROM mcr.microsoft.com/windows/servercore:1909
# Switch to powershell and make sure it exits on error
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV CCL_VERSION=1.12
RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip' -f $env:CCL_VERSION); \
Write-Host ('Downloading {0}' -f $srcurl); \
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; \
Write-Host 'Done downloading'; \
Expand-Archive -Force C:\ccl.zip 'C:\Program Files\'; \
rm C:\ccl.zip; \
Add-Content -Path 'C:\Program Files\ccl\ccl.cmd' -Value '@echo off'; \
Add-Content -Path 'C:\Program Files\ccl\ccl.cmd' '\"C:\Program Files\ccl\wx86cl64.exe\"'; \
type 'C:\Program Files\ccl\ccl.cmd'
RUN $newpath = ('C:\Program Files\ccl;{0}' -f $env:PATH); \
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newpath
CMD ["ccl"]
FROM mcr.microsoft.com/windows/servercore:ltsc2019
# Switch to powershell and make sure it exits on error
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV CCL_VERSION=1.12
RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip' -f $env:CCL_VERSION); \
Write-Host ('Downloading {0}' -f $srcurl); \
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; \
Write-Host 'Done downloading'; \
Expand-Archive -Force C:\ccl.zip 'C:\Program Files\'; \
rm C:\ccl.zip; \
Add-Content -Path 'C:\Program Files\ccl\ccl.cmd' -Value '@echo off'; \
Add-Content -Path 'C:\Program Files\ccl\ccl.cmd' '\"C:\Program Files\ccl\wx86cl64.exe\"'; \
type 'C:\Program Files\ccl\ccl.cmd'
RUN $newpath = ('C:\Program Files\ccl;{0}' -f $env:PATH); \
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newpath
CMD ["ccl"]
image: daewok/ccl:latest
manifests:
- image: $DEBIAN_BUSTER_AMD64_NONBUILD_DIGEST
platform:
architecture: amd64
os: linux
- image: $DEBIAN_BUSTER_ARM32V7_NONBUILD_DIGEST
platform:
architecture: arm
variant: v7
os: linux
- image: daewok/ccl@sha256:bb8d4f1751de0787698f00fc08b502a000860a5c6c7710a9c484db709890597a
platform:
architecture: amd64
os: windows
image: daewok/ccl:$CCL_VERSION
manifests:
- image: $DEBIAN_BUSTER_AMD64_NONBUILD_DIGEST
platform:
architecture: amd64
os: linux
- image: $DEBIAN_BUSTER_ARM32V7_NONBUILD_DIGEST
platform:
architecture: arm
variant: v7
os: linux
- image: daewok/ccl@sha256:bb8d4f1751de0787698f00fc08b502a000860a5c6c7710a9c484db709890597a
platform:
architecture: amd64
os: windows
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment