Skip to content

Commit 2f090f9

Browse files
committed
try harder
1 parent 2f44336 commit 2f090f9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM ubuntu:latest
22

3+
# can't have default values here, otherwise they'd overwrite the buildx-supplied ones
4+
ARG TARGETOS
5+
ARG TARGETARCH
6+
37
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y \
48
xvfb \
59
x11vnc \
@@ -36,4 +40,4 @@ ADD misc/menu.xml /etc/xdg/openbox/
3640

3741
CMD ["/usr/local/bin/screen-server", "run"]
3842

39-
ADD rel/screen-server_linux-amd64 /usr/local/bin/screen-server
43+
ADD rel/screen-server_linux-$TARGETARCH /usr/local/bin/screen-server

turbobob.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
}
1717
],
1818
"os_arches": {
19-
"linux-amd64": true
19+
"linux-amd64": true,
20+
"linux-arm64": true,
21+
"linux-arm": true
2022
},
2123
"docker_images": [
2224
{

0 commit comments

Comments
 (0)