Skip to content

Commit 3129ce6

Browse files
Merge pull request #345 from gliderlabs/master
release v0.4.0
2 parents 44058c9 + 0c82744 commit 3129ce6

File tree

224 files changed

+1823
-51940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+1823
-51940
lines changed

CHANGELOG.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ All notable changes to this project will be documented in this file.
1010

1111
### Changed
1212

13+
## [0.4.0] - 2018-03-10
14+
### Changed
15+
- @michaelshobbs pin docker version for local build target
16+
- @iSDP move base image to heroku16
17+
- @miyucy Respect STACK envvar
18+
- @michaelshobbs use newer version of ruby compatible with heroku-16 in test apps
19+
20+
### Removed
21+
- @michaelshobbs remove erlang from buildpack bundle
22+
23+
**NOTE: v0.4.0 is now based on heroku-16**
24+
1325
## [0.3.36] - 2018-03-10
1426
### Changed
1527
- @josegonzalez fix: retrieve only valid process types
@@ -451,7 +463,8 @@ All notable changes to this project will be documented in this file.
451463
- User for `buildpack-build` is `$USER` or randomized
452464
- User for `procfile-exec` is `$USER` or detected from `/app`
453465

454-
[unreleased]: https://github.com/gliderlabs/herokuish/compare/v0.3.36...HEAD
466+
[unreleased]: https://github.com/gliderlabs/herokuish/compare/v0.4.0...HEAD
467+
[0.4.0]: https://github.com/gliderlabs/herokuish/compare/v0.3.36...v0.4.0
455468
[0.3.36]: https://github.com/gliderlabs/herokuish/compare/v0.3.35...v0.3.36
456469
[0.3.35]: https://github.com/gliderlabs/herokuish/compare/v0.3.34...v0.3.35
457470
[0.3.34]: https://github.com/gliderlabs/herokuish/compare/v0.3.33...v0.3.34

Dockerfile

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1-
FROM heroku/cedar:14
2-
RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.3.36/herokuish_0.3.36_linux_x86_64.tgz" \
3-
--silent -L | tar -xzC /bin
4-
RUN apt-get update && apt-get -qq -y --force-yes dist-upgrade && apt-get clean && rm -rf /var/cache/apt/archives/*
1+
FROM heroku/heroku:16-build
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update -qq \
6+
&& apt-get install -qq -y daemontools \
7+
&& apt-get -qq -y \
8+
--allow-downgrades \
9+
--allow-remove-essential \
10+
--allow-change-held-packages \
11+
dist-upgrade \
12+
&& apt-get clean \
13+
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* /var/tmp/*
14+
RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.4.0/herokuish_0.4.0_linux_x86_64.tgz" \
15+
--silent -L | tar -xzC /bin
516
RUN /bin/herokuish buildpack install \
6-
&& ln -s /bin/herokuish /build \
7-
&& ln -s /bin/herokuish /start \
8-
&& ln -s /bin/herokuish /exec
17+
&& ln -s /bin/herokuish /build \
18+
&& ln -s /bin/herokuish /start \
19+
&& ln -s /bin/herokuish /exec
920
COPY include/default_user.bash /tmp/default_user.bash
1021
RUN bash /tmp/default_user.bash && rm -f /tmp/default_user.bash

Dockerfile.build

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
FROM golang:1.8.3
2-
RUN curl -s -o - https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 > /usr/local/bin/docker && chmod +x /usr/local/bin/docker
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update -qq \
6+
&& apt-get install -qq -y --force-yes \
7+
apt-transport-https \
8+
apt-utils \
9+
ca-certificates \
10+
curl \
11+
gnupg2 \
12+
software-properties-common \
13+
&& curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - \
14+
&& add-apt-repository \
15+
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
16+
RUN apt-get update -qq \
17+
&& apt-get install -qq -y --force-yes docker-ce=17.12.0~ce-0~debian

Dockerfile.dev

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
FROM heroku/cedar:14
1+
FROM heroku/heroku:16-build
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update -qq \
6+
&& apt-get install -qq -y daemontools \
7+
&& apt-get clean \
8+
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* /var/tmp/*
29
COPY ./build/linux/herokuish /bin/herokuish
310
RUN /bin/herokuish buildpack install \
411
&& ln -s /bin/herokuish /build \

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
NAME = herokuish
22
HARDWARE = $(shell uname -m)
3-
VERSION ?= 0.3.36
3+
VERSION ?= 0.4.0
44
IMAGE_NAME ?= $(NAME)
55
BUILD_TAG ?= dev
66

7-
BUILDPACK_ORDER := multi ruby nodejs clojure python java gradle scala play php go erlang static
7+
BUILDPACK_ORDER := multi ruby nodejs clojure python java gradle scala play php go static
88
SHELL := /bin/bash
99

1010
shellcheck:
@@ -49,7 +49,7 @@ clean:
4949
docker rmi herokuish:dev || true
5050

5151
deps:
52-
docker pull heroku/cedar:14
52+
docker pull heroku/heroku:16-build
5353
go get -u github.com/jteeuwen/go-bindata/...
5454
go get -u github.com/progrium/gh-release/...
5555
go get -u github.com/progrium/basht/...

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Download and uncompress the latest binary tarball from [releases](https://github
1818
For example, you can do this directly in your Dockerfiles installing into `/bin` as one step:
1919

2020
```
21-
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.3.36/herokuish_0.3.36_linux_x86_64.tgz \
21+
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.4.0/herokuish_0.4.0_linux_x86_64.tgz \
2222
| tar -xzC /bin
2323
```
2424

buildpacks/buildpack-erlang/buildpack-url

-1
This file was deleted.

buildpacks/buildpack-erlang/buildpack-version

-1
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/Procfile

-1
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/priv/dispatch.conf

-2
This file was deleted.
-132 KB
Binary file not shown.

buildpacks/buildpack-erlang/tests/erlang/rebar.config

-3
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/src/erlang_test.app.src

-18
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/src/erlang_test.erl

-29
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/src/erlang_test_app.erl

-21
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/src/erlang_test_resource.erl

-13
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/src/erlang_test_sup.erl

-57
This file was deleted.

buildpacks/buildpack-erlang/tests/erlang/test.sh

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'http://rubygems.org'
2-
ruby '1.9.3'
2+
ruby '2.2.4'
33
gem 'sinatra'
44
gem 'rack'
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file is a "template" of which env vars need to be defined for your application
2+
# Copy this file to .env file for development, create environment variables when deploying to production
3+
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
4+
5+
###> symfony/framework-bundle ###
6+
APP_ENV=prod
7+
APP_SECRET=de0037b670fbb54d927eeba1182df23f
8+
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
9+
#TRUSTED_HOSTS=localhost,example.com
10+
###< symfony/framework-bundle ###
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: $(composer config bin-dir)/heroku-php-nginx -C nginx.conf public/

buildpacks/buildpack-php/tests/php/application/.htaccess

-1
This file was deleted.

buildpacks/buildpack-php/tests/php/application/cache/.htaccess

-1
This file was deleted.

buildpacks/buildpack-php/tests/php/application/cache/index.html

-10
This file was deleted.

0 commit comments

Comments
 (0)