Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cl-docker-images
ccl
Commits
871882fa
Commit
871882fa
authored
Oct 31, 2020
by
Eric Timmons
Browse files
Add nightly images
parent
c84f4d11
Changes
17
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
871882fa
...
...
@@ -41,6 +41,14 @@ _nonnightly: &nonnightly
_nightly
:
&nightly
allow_failures
:
if
:
NOT (type = cron)
before_script
:
-
mkdir tmp
-
cd tmp
-
git clone https://github.com/Clozure/ccl.git
-
cd ccl
-
export EXTRA_BUILDARGS="--build-arg ref=$(git rev-parse HEAD)"
-
cd ../..
-
rm -rf tmp
_build_job
:
&build_job
stage
:
build
...
...
@@ -116,3 +124,86 @@ jobs:
OS_NAME
:
ubuntu
OS_VERSION
:
"
bionic"
<<
:
[
*build_job
,
*nonnightly
]
# Nightly images
# Debian Buster
-
arch
:
amd64
env
:
ARCH
:
amd64
OS_NAME
:
debian
OS_VERSION
:
"
buster"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
-
arch
:
arm64
env
:
ARCH
:
arm32v7
OS_NAME
:
debian
OS_VERSION
:
"
buster"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
# Debian Stretch
-
arch
:
amd64
env
:
ARCH
:
amd64
OS_NAME
:
debian
OS_VERSION
:
"
stretch"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
-
arch
:
arm64
env
:
ARCH
:
arm32v7
OS_NAME
:
debian
OS_VERSION
:
"
stretch"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
# Ubuntu Focal
-
arch
:
amd64
env
:
ARCH
:
amd64
OS_NAME
:
ubuntu
OS_VERSION
:
"
focal"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
-
arch
:
arm64
install
:
-
unset DOCKER_BUILDKIT
-
sudo apt-get remove -y docker docker.io containerd runc
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-
sudo apt-get update
-
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
env
:
ARCH
:
arm32v7
OS_NAME
:
ubuntu
OS_VERSION
:
"
focal"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
# Ubuntu Bionic
-
arch
:
amd64
env
:
ARCH
:
amd64
OS_NAME
:
ubuntu
OS_VERSION
:
"
bionic"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
-
arch
:
arm64
env
:
ARCH
:
arm32v7
OS_NAME
:
ubuntu
OS_VERSION
:
"
bionic"
VERSION
:
nightly
<<
:
[
*build_job
,
*nightly
]
# Deploy nightly
-
arch
:
amd64
stage
:
deploy
env
:
INCLUDE_WINDOWS_IN_MANIFEST
:
"
no"
VERSION
:
nightly
script
:
-
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# First, download all the nightly builds, retag them, and push them to
# the arch specific repos
-
$BUILD_SCRIPT pull_retag_and_push_linux_arch_images
# Next, create and push all the linux manifests
-
$BUILD_SCRIPT release_linux_manifests
# Last, release shared manifests
-
$BUILD_SCRIPT release_shared_manifests
nightly/debian/buster/amd64/Dockerfile
0 → 100644
View file @
871882fa
FROM
debian:buster
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxx86
ARG
CCL_SCRIPT=ccl64
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/debian/buster/amd64/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/debian/buster/arm32v7/Dockerfile
0 → 100644
View file @
871882fa
FROM
debian:buster
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxarm
ARG
CCL_SCRIPT=ccl
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/debian/buster/arm32v7/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/debian/stretch/amd64/Dockerfile
0 → 100644
View file @
871882fa
FROM
debian:stretch
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxx86
ARG
CCL_SCRIPT=ccl64
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/debian/stretch/amd64/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/debian/stretch/arm32v7/Dockerfile
0 → 100644
View file @
871882fa
FROM
debian:stretch
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxarm
ARG
CCL_SCRIPT=ccl
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/debian/stretch/arm32v7/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/ubuntu/bionic/amd64/Dockerfile
0 → 100644
View file @
871882fa
FROM
ubuntu:bionic
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxx86
ARG
CCL_SCRIPT=ccl64
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/ubuntu/bionic/amd64/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/ubuntu/bionic/arm32v7/Dockerfile
0 → 100644
View file @
871882fa
FROM
ubuntu:bionic
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxarm
ARG
CCL_SCRIPT=ccl
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/ubuntu/bionic/arm32v7/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/ubuntu/focal/amd64/Dockerfile
0 → 100644
View file @
871882fa
FROM
ubuntu:focal
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxx86
ARG
CCL_SCRIPT=ccl64
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/ubuntu/focal/amd64/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
nightly/ubuntu/focal/arm32v7/Dockerfile
0 → 100644
View file @
871882fa
FROM
ubuntu:focal
LABEL
maintainer="etimmons@mit.edu"
ARG
ref=master
ENV
CCL_REF=$ref
ARG
PLATFORM=linuxarm
ARG
CCL_SCRIPT=ccl
WORKDIR
/usr/local/src/
# hadolint ignore=DL3003,DL3008
RUN
set
-x
\
&&
CCL_VERSION
=
1.12
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
curl ca-certificates build-essential m4 make git
\
&&
git clone https://github.com/Clozure/ccl.git ccl-dev
\
&&
(
cd
ccl-dev
&&
git archive
--prefix
=
ccl/
"
$CCL_REF
"
|
tar
-C
..
-x
)
\
&&
curl
-L
https://github.com/Clozure/ccl/releases/download/v
${
CCL_VERSION
}
/
${
PLATFORM
}
.tar.gz
>
${
PLATFORM
}
.tar.gz
\
&&
gunzip
${
PLATFORM
}
.tar.gz
\
&&
(
cd
ccl
&&
tar
xf ../
${
PLATFORM
}
.tar
&&
cp
scripts/
$CCL_SCRIPT
/usr/local/bin/ccl
&&
ccl
-b
-e
"(rebuild-ccl :full t)"
)
\
&&
rm
-rf
ccl-dev
${
PLATFORM
}
.tar
\
&&
apt-get remove
-y
curl ca-certificates build-essential m4 make git
\
&&
apt-get autoremove
-y
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/
COPY
docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT
["docker-entrypoint"]
CMD
["ccl"]
nightly/ubuntu/focal/arm32v7/docker-entrypoint
0 → 100755
View file @
871882fa
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if
[
"
${
1
#-
}
"
!=
"
$1
"
]
;
then
set
--
ccl
"
$@
"
fi
exec
"
$@
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment