Yiyiyimu commented on a change in pull request #161:
URL: https://github.com/apache/apisix-docker/pull/161#discussion_r613276156
##########
File path: README.md
##########
@@ -12,29 +12,33 @@
export APISIX_VERSION=2.4
# alpine
-make build-on-alpine
+$ make build-on-alpine
# centos
-make build-on-centos
+$ make build-on-centos
```
2. Build from master branch version, which has latest code(ONLY for the
developer's convenience):
```
export APISIX_VERSION=master
-make -t apisix:${APISIX_VERSION}-alpine --build-arg
APISIX_VERSION=${APISIX_VERSION} -f alpine/Dockerfile alpine
+# alpine
+$ make build-on-alpine
+# centos
+$ make build-on-centos
```
3. Build from local code:
```
# To copy apisix into image, we need to include it in build context
-cd <APISIX-PATH>
-make -t apisix:alpine-local --build-arg APISIX_PATH=. -f
<APISIX-DOCKER-PATH>/alpine-local/Dockerfile alpine
+$ cd <APISIX-PATH>
+# alpine-local
Review comment:
But if you refer to other places that use hash prefixes, you could find
it would be `alpine` or `centos` which are OS. Apparently here it is not. At
least it confused me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]