Skip to content

Commit a8da6e4

Browse files
committed
add cedar-14 back in after clarification on support policy
Heroku will continue to build binaries as long as stacks receive updates, even after EOL
1 parent 707ed84 commit a8da6e4

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

builds/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
**After every change to your formulae, perform the following** from the root of the Git repository (not from `builds/`) to rebuild the images for each stack:
66

7+
$ docker build --pull --tag heroku-python-build-cedar-14 --file $(pwd)/builds/cedar-14.Dockerfile .
78
$ docker build --pull --tag heroku-python-build-heroku-16 --file $(pwd)/builds/heroku-16.Dockerfile .
89
$ docker build --pull --tag heroku-python-build-heroku-18 --file $(pwd)/builds/heroku-18.Dockerfile .
910

@@ -31,8 +32,6 @@ Out of the box, each `Dockerfile` has the correct values predefined for `S3_BUCK
3132

3233
If you want to deploy packages and thus need to pass `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`, you can either pass them explicitly, through your environment, or through an env file.
3334

34-
If you want to deploy packages and thus need to pass `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`, you can either pass them explicitly, through your environment, or through an env file.
35-
3635
#### Passing credentials explicitly
3736

3837
docker run --rm -ti -e AWS_ACCESS_KEY_ID=... -e AWS_SECRET_ACCESS_KEY=... heroku-python-build-heroku-18 bash

builds/cedar-14.Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM heroku/cedar:14
2+
3+
WORKDIR /app
4+
ENV WORKSPACE_DIR="/app/builds" \
5+
S3_BUCKET="lang-python" \
6+
S3_PREFIX="cedar-14/" \
7+
DEBIAN_FRONTEND=noninteractive \
8+
STACK="cedar-14"
9+
10+
RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/*
11+
12+
COPY requirements.txt /app/
13+
RUN pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt
14+
15+
COPY . /app

0 commit comments

Comments
 (0)