@@ -122,13 +122,13 @@ After this create a docker image and push it to your Docker hub repository.
122
122
Building the docker image for our custom Python environment. * (Replace the username with your actual username on Docker Hub.)*
123
123
124
124
` ` ` bash
125
- docker build -t username/python-postgres:latest --build-arg PY_BASE_IMG=3.7-alpine -f Dockerfile .
125
+ docker build -t username/python-postgres --build-arg PY_BASE_IMG=3.7-alpine -f Dockerfile .
126
126
` ` `
127
127
128
128
Pushing the docker image to Docker Hub registry:
129
129
130
130
` ` ` bash
131
- docker push username/python-postgres:latest
131
+ docker push username/python-postgres
132
132
` ` `
133
133
134
134
#### Source Package Setup
@@ -177,7 +177,7 @@ For this voting app, we will create `python environment`, `packages`, `fission f
177
177
Creating the Python environment:
178
178
179
179
` ` ` bash
180
- fission env create --name pythonsrc --image username/python-postgres --builder ghcr.io/fission/python-builder:latest
180
+ fission env create --name pythonsrc --image username/python-postgres --builder ghcr.io/fission/python-builder
181
181
` ` `
182
182
183
183
Once the environment is ready, we create two Fission packages for ` backend` and ` frontend`
@@ -268,7 +268,7 @@ You can open a terminal and key in the all the following commands at once.
268
268
269
269
` ` ` yaml
270
270
fission spec init
271
- fission env create --name pythonsrc --image python-postgres --builder ghcr.io/fission/python-builder:latest --spec
271
+ fission env create --name pythonsrc --image python-postgres --builder ghcr.io/fission/python-builder --spec
272
272
fission package create --name backend-pkg --sourcearchive backend.zip --env pythonsrc --buildcmd " ./build.sh" --spec
273
273
fission fn create --name backend --pkg backend-pkg --entrypoint " backend.main" --spec
274
274
fission route create --name backend --method POST --url /castvote --function backend --spec
@@ -281,7 +281,7 @@ This will create a `specs` folder with specs for each resource that is required
281
281
282
282
` ` ` bash
283
283
fission spec init
284
- fission env create --name pythonsrc --image atulinfracloud/python-postgres --builder ghcr.io/fission/python-builder:latest --spec
284
+ fission env create --name pythonsrc --image atulinfracloud/python-postgres --builder ghcr.io/fission/python-builder --spec
285
285
fission package create --name backend-pkg --sourcearchive backend.zip --env pythonsrc --buildcmd " ./build.sh" --spec
286
286
fission fn create --name backend --pkg backend-pkg --entrypoint " backend.main" --spec
287
287
fission route create --name backend --method POST --url /castvote --function backend --spec
0 commit comments