-
Notifications
You must be signed in to change notification settings - Fork 31
/
Makefile
36 lines (26 loc) · 877 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# =========
# Constants
# =========
version=latest
repository=icr.io/quantum-public
rayNodeImageName=$(repository)/qiskit-serverless/ray-node
gatewayImageName=$(repository)/qiskit-serverless/gateway
proxyImageName=$(repository)/qiskit-serverless/proxy
# =============
# Docker images
# =============
build-and-push: build-all push-all
build-all: build-ray-node build-gateway build-proxy
push-all: push-ray-node push-gateway push-proxy
build-ray-node:
docker build -t $(rayNodeImageName):$(version) -f Dockerfile-ray-node .
build-gateway:
docker build -t $(gatewayImageName):$(version) -f ./gateway/Dockerfile .
build-proxy:
docker build -t $(proxyImageName):$(version) -f ./proxy/Dockerfile .
push-ray-node:
docker push $(rayNodeImageName):$(version)
push-gateway:
docker push $(gatewayImageName):$(version)
push-proxy:
docker push $(proxyImageName):$(version)