Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
cleaned dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thaler committed Nov 10, 2020
1 parent 0903a8b commit 69e66f2
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 133 deletions.
2 changes: 1 addition & 1 deletion examples/combined-odata-mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:14-alpine
RUN apk --no-cache upgrade

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion examples/combined-openapi-mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:14-alpine
RUN apk --no-cache upgrade

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion examples/kyma-mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:14-alpine
RUN apk --no-cache upgrade

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion examples/odata-mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:14-alpine
RUN apk --no-cache upgrade

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion examples/openapi-mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:14-alpine
RUN apk --no-cache upgrade

WORKDIR /app
Expand Down
3 changes: 0 additions & 3 deletions modules/api-server/.dockerignore

This file was deleted.

12 changes: 0 additions & 12 deletions modules/api-server/Dockerfile

This file was deleted.

12 changes: 2 additions & 10 deletions modules/api-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,9 @@ resolve:
validate:
npm test

docker-build:
docker build -t $(APP_NAME):latest .
docker-build: ;

docker-push:
#DOCKER_TAG comes as parameter from outside -> make docker-push DOCKER_TAG=master
echo $(DOCKER_TAG)
docker tag $(APP_NAME):latest $(IMG):$(DOCKER_TAG)
docker push $(IMG):$(DOCKER_TAG)
#also push latest
docker tag $(IMG):$(DOCKER_TAG) $(IMG):latest
docker push $(IMG):latest
docker-push: ;

clean:
rm -rf ./node_modules ./logs
Expand Down
3 changes: 0 additions & 3 deletions modules/cockpit/.dockerignore

This file was deleted.

20 changes: 0 additions & 20 deletions modules/cockpit/Dockerfile

This file was deleted.

12 changes: 2 additions & 10 deletions modules/cockpit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,9 @@ IMG = $(DOCKER_PUSH_REPOSITORY)$(DOCKER_PUSH_DIRECTORY)/$(APP_NAME)
resolve:
npm install

docker-build:
docker build -t $(APP_NAME):latest .
docker-build: ;

docker-push:
#DOCKER_TAG comes as parameter from outside -> make docker-push DOCKER_TAG=master
echo $(DOCKER_TAG)
docker tag $(APP_NAME):latest $(IMG):$(DOCKER_TAG)
docker push $(IMG):$(DOCKER_TAG)
#also push latest
docker tag $(IMG):$(DOCKER_TAG) $(IMG):latest
docker push $(IMG):latest
docker-push: ;

clean:
rm -rf ./node_modules
Expand Down
3 changes: 0 additions & 3 deletions modules/odata-mock/.dockerignore

This file was deleted.

23 changes: 0 additions & 23 deletions modules/odata-mock/Dockerfile

This file was deleted.

12 changes: 2 additions & 10 deletions modules/odata-mock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,9 @@ resolve:
validate:
npm test

docker-build:
docker build -t $(APP_NAME):latest .
docker-build: ;

docker-push:
#DOCKER_TAG comes as parameter from outside -> make docker-push DOCKER_TAG=master
echo $(DOCKER_TAG)
docker tag $(APP_NAME):latest $(IMG):$(DOCKER_TAG)
docker push $(IMG):$(DOCKER_TAG)
#also push latest
docker tag $(IMG):$(DOCKER_TAG) $(IMG):latest
docker push $(IMG):latest
docker-push: ;

clean:
rm -rf ./node_modules ./requests.log ./n_odata_server.log
Expand Down
3 changes: 0 additions & 3 deletions modules/openapi-mock/.dockerignore

This file was deleted.

21 changes: 0 additions & 21 deletions modules/openapi-mock/Dockerfile

This file was deleted.

12 changes: 2 additions & 10 deletions modules/openapi-mock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,9 @@ resolve:
validate:
npm test

docker-build:
docker build -t $(APP_NAME):latest .
docker-build: ;

docker-push:
#DOCKER_TAG comes as parameter from outside -> make docker-push DOCKER_TAG=master
echo $(DOCKER_TAG)
docker tag $(APP_NAME):latest $(IMG):$(DOCKER_TAG)
docker push $(IMG):$(DOCKER_TAG)
#also push latest
docker tag $(IMG):$(DOCKER_TAG) $(IMG):latest
docker push $(IMG):latest
docker-push: ;

clean:
rm -rf ./node_modules ./requests.log ./generated
Expand Down

0 comments on commit 69e66f2

Please sign in to comment.