Skip to content

Commit 2bcc858

Browse files
author
Matthew Fisher
committed
Merge pull request #1975 from bacongobbler/cedar-14
chore(builder): migrate to cedar-14 stack
2 parents 39c8980 + c9df819 commit 2bcc858

6 files changed

Lines changed: 17 additions & 22 deletions

File tree

builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN echo "%git ALL=(ALL:ALL) NOPASSWD:/home/git/builder" >> /etc/sudoers
5050
# HACK: import progrium/cedarish as a tarball
5151
# see https://github.com/deis/deis/issues/1027
5252
RUN curl -#SL -o /progrium_cedarish.tar \
53-
https://s3-us-west-2.amazonaws.com/opdemand/progrium_cedarish_cedar.tar
53+
https://s3-us-west-2.amazonaws.com/opdemand/progrium_cedarish_2014_10_01.tar
5454

5555
# define the execution environment
5656
# use VOLUME to remove /var/lib/docker from copy-on-write for performance

builder/bin/boot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ done
5656
# HACK: load progrium/cedarish tarball for faster boot times
5757
# see https://github.com/deis/deis/issues/1027
5858
if ! docker history progrium/cedarish >/dev/null 2>/dev/null ; then
59-
echo "Loading cedarish..."
60-
docker load -i /progrium_cedarish.tar
59+
echo "Loading cedarish..."
60+
docker load -i /progrium_cedarish.tar
6161
else
62-
echo "Cedarish already loaded"
62+
echo "Cedarish already loaded"
6363
fi
6464

6565
# build required images

builder/slugbuilder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM progrium/cedarish:cedar
1+
FROM progrium/cedarish:latest
22
MAINTAINER OpDemand <info@opdemand.com>
33

44
RUN mkdir /app

builder/slugbuilder/builder/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ cp -r $app_dir/. $build_root
5555
export APP_DIR="$app_dir"
5656
export HOME="$app_dir"
5757
export REQUEST_ID=$(openssl rand -base64 32)
58-
export STACK=cedar
58+
export STACK=cedar-14
5959

6060
## Buildpack detection
6161

@@ -106,9 +106,9 @@ fi
106106
## Produce slug
107107

108108
if [[ -f "$build_root/.slugignore" ]]; then
109-
tar --exclude='.git' --use-compress-program=pigz -X "$build_root/.slugignore" -C $build_root -cf $slug_file . | cat
109+
tar --exclude='.git' -X "$build_root/.slugignore" -C $build_root -cf $slug_file . | cat
110110
else
111-
tar --exclude='.git' --use-compress-program=pigz -C $build_root -cf $slug_file . | cat
111+
tar --exclude='.git' -C $build_root -cf $slug_file . | cat
112112
fi
113113

114114
if [[ "$slug_file" != "-" ]]; then

builder/slugbuilder/builder/install-buildpacks

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,15 @@ download_buildpack() {
1616

1717
mkdir -p $BUILDPACK_INSTALL_PATH
1818

19-
download_buildpack https://github.com/ddollar/heroku-buildpack-multi.git d5b4b97
20-
download_buildpack https://github.com/heroku/heroku-buildpack-ruby.git v126
19+
download_buildpack https://github.com/ddollar/heroku-buildpack-multi.git 9350571
20+
download_buildpack https://github.com/heroku/heroku-buildpack-ruby.git v127
2121
download_buildpack https://github.com/heroku/heroku-buildpack-nodejs.git v60
22-
download_buildpack https://github.com/heroku/heroku-buildpack-java.git b7e7b29
23-
download_buildpack https://github.com/heroku/heroku-buildpack-gradle.git e6c2297
22+
download_buildpack https://github.com/heroku/heroku-buildpack-java.git v28
23+
download_buildpack https://github.com/heroku/heroku-buildpack-gradle.git 743f73c
2424
download_buildpack https://github.com/heroku/heroku-buildpack-grails.git 1ef927d
25-
download_buildpack https://github.com/heroku/heroku-buildpack-play.git 420fb6a
25+
download_buildpack https://github.com/heroku/heroku-buildpack-play.git ceede86
2626
download_buildpack https://github.com/heroku/heroku-buildpack-python.git v52
2727
download_buildpack https://github.com/heroku/heroku-buildpack-php.git v43
28-
download_buildpack https://github.com/heroku/heroku-buildpack-clojure.git v7
29-
download_buildpack https://github.com/kr/heroku-buildpack-go.git b261aab
30-
download_buildpack https://github.com/oortcloud/heroku-buildpack-meteorite.git 76efa5c
31-
download_buildpack https://github.com/miyagawa/heroku-buildpack-perl.git 2da7480
32-
download_buildpack https://github.com/heroku/heroku-buildpack-scala.git 52f689d
33-
download_buildpack https://github.com/igrigorik/heroku-buildpack-dart.git c492c52
34-
download_buildpack https://github.com/rhy-jot/buildpack-nginx.git f914a3d
35-
download_buildpack https://github.com/Kloadut/heroku-buildpack-static-apache.git f65c835
28+
download_buildpack https://github.com/heroku/heroku-buildpack-clojure.git bc2bfd8
29+
download_buildpack https://github.com/heroku/heroku-buildpack-scala.git v41
30+
download_buildpack https://github.com/heroku/heroku-buildpack-go.git b261aab

builder/slugrunner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM progrium/cedarish:cedar
1+
FROM progrium/cedarish:latest
22
MAINTAINER OpDemand <info@opdemand.com>
33

44
RUN mkdir /app

0 commit comments

Comments
 (0)