Commit de892a0a7b26f106607a844149cfb38380e236b9

Parents: d03c585cee4910bc5b3b34b1e4cb870954ff4060

From: Moritz Poldrack <git@moritz.sh>
Date: Thu Nov 2 22:19:24 2023 +0700

docker: build local version

		

Stats

.build.yml +1/-0
Dockerfile +1/-1

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/.build.yml b/.build.yml
index 6c9667bbadf7c9f65f6a01f2a4e6547f79baccf3..55dc246f29707b8aa7745d07e6ed1569a1f6049c 100644
--- a/.build.yml
+++ b/.build.yml
@@ -32,6 +32,7 @@       done
       set -e
   - docker-build: |
       cd uniview
+      touch internal/client/index.html
       docker build .
   - reuse-compliance: |
       cd uniview
diff --git a/Dockerfile b/Dockerfile
index af8c5f429bebbef5527d596c9dd878343c0b213c..479faae0ae9d97ad527e061a5f4ac0eb6c4b398c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ # SPDX-License-Identifier: CC0-1.0
 
 FROM archlinux AS build
 RUN pacman -Syu make go git protobuf which --noconfirm
-RUN git clone https://git.sr.ht/~mpldr/uniview /src
+COPY . /src
 WORKDIR /src
 RUN CGO_ENABLED=0 EXTRA_GO_LDFLAGS="-s -w" make