We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5c3af6 commit 2ccf154Copy full SHA for 2ccf154
2 files changed
Dockerfile
@@ -1,5 +1,8 @@
1
FROM alpine:latest
2
3
+# "amd64" | "arm" | ...
4
+ARG TARGETARCH
5
+
6
# using host's filesystem boosts performance. it is expected that the user uses this as anonymous
7
# volume (i.e. nothing specific has to be done) for this to get cleaned up
8
VOLUME /var/cache/edgerouter
@@ -10,4 +13,4 @@ CMD ["serve"]
10
13
11
14
COPY bin/deploy-turbocharger-site.sh /usr/bin/
12
15
-COPY rel/edgerouter_linux-amd64 /usr/bin/edgerouter
16
+COPY "rel/edgerouter_linux-$TARGETARCH" /usr/bin/edgerouter
turbobob.json
@@ -37,7 +37,8 @@
37
"docker_images": [
38
{
39
"image": "fn61/edgerouter",
40
- "dockerfile_path": "Dockerfile"
+ "dockerfile_path": "Dockerfile",
41
+ "platforms": ["linux/amd64", "linux/arm/v7"]
42
}
43
]
44
0 commit comments