Skip to content

Commit 0279e31

Browse files
committed
miss build.md
1 parent 410bb0f commit 0279e31

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Build an image from source
2+
3+
**Docker images are not official ASF releases but provided for convenience. Recommended usage is always to build the source.**
4+
5+
1. install release version (Apache releases are beginning from version 0.9):
6+
```
7+
# Assign Apache release version number to variable `APISIX_VERSION`, for example: 1.2 . The latest version can be find at `https://github.com/apache/incubator-apisix/releases`
8+
9+
APISIX_VERSION=1.2
10+
docker build -t apisix:${APISIX_VERSION}-alpine --build-arg APISIX_VERSION=${APISIX_VERSION} -f alpine/Dockerfile alpine
11+
```
12+
13+
2. install master branch version, which has latest code(ONLY for the developer's convenience):
14+
```
15+
docker build -t apisix:master-alpine -f alpine/Dockerfile alpine
16+
```

0 commit comments

Comments
 (0)