Commit 536fd62c authored by Kevin Modzelewski's avatar Kevin Modzelewski

Add missing build_docker.sh

parent ea8cd1db
set -x
set -e
set -u
BUILD_NAME=0.5.1
for type in pyston pyston-numpy; do
for tag in latest ${BUILD_NAME}; do
cd ~/pyston/docker/${type}
# "docker build" only recently gained the ability to take multiple -t flags
docker build -t pyston/${type}:latest ~/pyston/docker/${type}
docker build -t pyston/${type}:${BUILD_NAME} ~/pyston/docker/${type}
done
done
for type in pyston pyston-numpy; do
for tag in latest ${BUILD_NAME}; do
cd ~/pyston/docker/${type}
docker push pyston/${type}:latest
docker push pyston/${type}:${BUILD_NAME}
done
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment