Skip to content

Commit

Permalink
#3284: dockerfile, update to '0.8' reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Sep 29, 2018
1 parent d6b283a commit 5dbe058
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dockerfile/mariadb.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-base:0.7
FROM jeff1evesque/ml-base:0.8

## local variables
ENV ENVIRONMENT=docker\
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/mongodb.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-base:0.7
FROM jeff1evesque/ml-base:0.8

## local variables
ENV ENVIRONMENT docker
Expand Down
14 changes: 7 additions & 7 deletions dockerfile/nginx.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-base:0.7
FROM jeff1evesque/ml-base:0.8

## local variables
ENV ENVIRONMENT docker
Expand All @@ -21,14 +21,14 @@ COPY puppet/environment/$ENVIRONMENT/modules/reverse_proxy $ROOT_PUPPET/code/mod
##
## provision with puppet: either build a web, or api nginx image.
##
## docker build --build-arg TYPE=api --build-arg RUN=false --build-arg VHOST=machine-learning-api.com --build-arg HOST_PORT=9090 --build-arg LISTEN_PORT=6000 -f nginx.dockerfile -t jeff1evesque/ml-nginx-api:0.7 .
## docker build --build-arg TYPE=web --build-arg RUN=false --build-arg VHOST=machine-learning-web.com --build-arg HOST_PORT=9090 --build-arg LISTEN_PORT=6000 -f nginx.dockerfile -t jeff1evesque/ml-nginx-web:0.7 .
## docker build --build-arg TYPE=api --build-arg RUN=false --build-arg VHOST=machine-learning-api.com --build-arg HOST_PORT=9090 --build-arg LISTEN_PORT=6000 -f nginx.dockerfile -t jeff1evesque/ml-nginx-api:0.8 .
## docker build --build-arg TYPE=web --build-arg RUN=false --build-arg VHOST=machine-learning-web.com --build-arg HOST_PORT=8080 --build-arg LISTEN_PORT=5000 -f nginx.dockerfile -t jeff1evesque/ml-nginx-web:0.8 .
##
## docker build --build-arg TYPE=api --build-arg RUN=false -f nginx.dockerfile -t jeff1evesque/ml-nginx-api:0.7 .
## docker build --build-arg TYPE=web --build-arg RUN=false -f nginx.dockerfile -t jeff1evesque/ml-nginx-web:0.7 .
## docker build --build-arg TYPE=api --build-arg RUN=false -f nginx.dockerfile -t jeff1evesque/ml-nginx-api:0.8 .
## docker build --build-arg TYPE=web --build-arg RUN=false -f nginx.dockerfile -t jeff1evesque/ml-nginx-web:0.8 .
##
## docker run --hostname nginx-api --name nginx-api -d jeff1evesque/ml-nginx-api:0.7
## docker run --hostname nginx-web --name nginx-web -d jeff1evesque/ml-nginx-web:0.7
## docker run --hostname nginx-api --name nginx-api -d jeff1evesque/ml-nginx-api:0.8
## docker run --hostname nginx-web --name nginx-web -d jeff1evesque/ml-nginx-web:0.8
##
RUN $PUPPET apply -e "class { reverse_proxy: \
run => 'false', \
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/redis.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-base:0.7
FROM jeff1evesque/ml-base:0.8

## local variables
ENV ENVIRONMENT docker
Expand Down
2 changes: 1 addition & 1 deletion dockerfile/sklearn.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-base:0.7
FROM jeff1evesque/ml-base:0.8

## local variables
ENV ENVIRONMENT docker
Expand Down
4 changes: 2 additions & 2 deletions dockerfile/webserver.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeff1evesque/ml-sklearn:0.7
FROM jeff1evesque/ml-sklearn:0.8

## local variables
ENV ENVIRONMENT docker
Expand All @@ -24,7 +24,7 @@ COPY puppet/environment/$ENVIRONMENT/modules/webserver $ROOT_PUPPET/code/modules
##
## provision with puppet: either build a web, or api webserver image.
##
## docker build -f webserver.dockerfile -t jeff1evesque/ml-webserver:0.7 .
## docker build -f webserver.dockerfile -t jeff1evesque/ml-webserver:0.8 .
##
RUN apt-get update && $PUPPET apply -e "class { webserver: \
run => false, \
Expand Down

0 comments on commit 5dbe058

Please sign in to comment.