Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update docker images #1921

Merged
merged 1 commit into from
May 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
FALCON_VERSION=$(shell sudo docker run -it falconry/falcon-bench:py3 python3 -c 'import falcon; import sys; sys.stdout.write(falcon.__version__)')

all: build-benchmark-images

build-benchmark-images:
sudo docker pull python:3.7-slim
sudo docker pull python:3.7
sudo docker pull python:3.8-slim
sudo docker pull python:3.8
vytas7 marked this conversation as resolved.
Show resolved Hide resolved
sudo docker pull pypy:3-slim

sudo docker build -t falconry/falcon-bench:py37 -f bench_py37.Dockerfile ./
sudo docker build -t falconry/falcon-bench:py37-cython -f bench_py37_cython.Dockerfile ./
sudo docker build -t falconry/falcon-bench:pypy3 -f bench_pypy3.Dockerfile ./
sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-py38 -f bench_py3.Dockerfile ./
sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-py38-cython -f bench_py3_cython.Dockerfile ./
sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-pypy3 -f bench_pypy3.Dockerfile ./

push:
sudo docker push falconry/falcon-bench:${FALCON_VERSION}-py38
sudo docker push falconry/falcon-bench:${FALCON_VERSION}-py38-cython
sudo docker push falconry/falcon-bench:${FALCON_VERSION}-pypy3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.8-slim
MAINTAINER Falcon Framework Maintainers

RUN pip install --no-cache-dir falcon
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7
FROM python:3.8
MAINTAINER Falcon Framework Maintainers

RUN pip install cython
Expand Down