chore(scaffolder): setting the run context to default for all containers

This commit is contained in:
blam
2020-02-06 17:48:56 +01:00
parent d0dddf3a0a
commit 76a6dc3c60
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ RUN go build .
### Running Container Stage
FROM debian:buster AS run
FROM debian:buster AS default
ARG service
WORKDIR /app/
@@ -28,6 +28,6 @@ CMD ["./service"]
### Scaffolder Stage
### needs extra cookiecutter
FROM run AS scaffolder
FROM default AS scaffolder
RUN apt-get update && apt-get install -y python-pip
RUN pip install cookiecutter==1.7.0 --index-url https://pypi.python.org/simple
+2
View File
@@ -15,6 +15,7 @@ services:
container_name: boss-identity
build:
context: backend
target: default
args:
service: identity
restart: unless-stopped
@@ -25,6 +26,7 @@ services:
container_name: boss-builds
build:
context: backend
target: default
args:
service: builds
restart: unless-stopped