@@ -9,7 +9,6 @@ Workshop attendees don't need to build these images themselves, they can simply
99```
1010start "C:\Program Files\Docker\Docker\Docker Desktop.exe"
1111
12- # add --no-cache to the command below to force getting the latest code
1312# can also test other repos / branches
1413
1514cd D:\GitHub\getting-started-with-mapserver\docker
@@ -21,6 +20,15 @@ docker build `
2120 --build-arg=MAPSERVER_REPO=https://github.com/mapserver/mapserver `
2221 .
2322
23+ # add --no-cache to the command below to force getting the latest code
24+ docker build `
25+ --tag "mapserver-workshop" `
26+ --target=runner `
27+ --build-arg=MAPSERVER_BRANCH=main `
28+ --build-arg=MAPSERVER_REPO=https://github.com/mapserver/mapserver `
29+ --no-cache `
30+ .
31+
2432# docker run -it --name mapserver-workshop -p 8080:8080 mapserver-workshop
2533
2634docker tag mapserver-workshop geographika/mapserver-workshop
@@ -30,6 +38,14 @@ docker tag mapserver-workshop geographika/mapserver-workshop
3038docker push geographika/mapserver-workshop
3139```
3240
41+ If there are connection issues, try running the following test from the host, and check proxy/DNS settings:
42+
43+ ```
44+ ping archive.ubuntu.com
45+ ```
46+
47+ Also check https://status.canonical.com/
48+
3349## Testing
3450
3551```
@@ -61,9 +77,12 @@ docker tag mapserver-workshop-demo geographika/mapserver-workshop-demo
6177# docker push geographika/mapserver-workshop-demo
6278
6379# DigitalOcean
64- doctl auth init
80+ # https://mapserver-workshop-k8hvw.ondigitalocean.app/
81+ # used for https://mapserver.github.io/getting-started-with-mapserver-demo/
82+ # Login and get a new API token with permissions for "registry"
83+
84+ doctl auth init -t dop_v1_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6585doctl registry login
6686docker tag mapserver-workshop-demo registry.digitalocean.com/geographika/mapserver-workshop-demo:latest
6787docker push registry.digitalocean.com/geographika/mapserver-workshop-demo:latest
68-
6988```
0 commit comments