Browse Source

removed keiji-ctl and replaced the image ref with the public domain name of my container registry

aeth 1 week ago
parent
commit
e54c78c172
2 changed files with 8 additions and 2 deletions
  1. 7 2
      Dockerfile
  2. 1 0
      Makefile

+ 7 - 2
Dockerfile

@@ -1,4 +1,4 @@
-FROM horus-harbor01.void-society.online/base-images/golang:1.25.5
+FROM reg.aetherial.dev/base-images/golang:1.25.5 as builder
 
 RUN mkdir -p /tmp/build
 
@@ -12,7 +12,12 @@ COPY ./go.sum .
 COPY ./pkg/ ./pkg/
 COPY ./scripts/ ./scripts/
 
-RUN ls -lha && make build && make root-install
+RUN make build && make root-install
+
+from reg.aetherial.dev/base-images/alpine:3.14 as final
+
+COPY --from=builder /bin/keiji /bin/keiji
+#### COPY --from=builder /bin/keiji-ctl /bin/keiji-ctl
 
 CMD ["keiji", "-content", "embed"]
 

+ 1 - 0
Makefile

@@ -19,6 +19,7 @@ install:
 	&& sudo cp ./build/linux/$(SEED_CMD)/$(SEED_CMD) /usr/local/bin/ \
 	&& sudo cp ./build/linux/$(WEBSERVER)/$(WEBSERVER) /usr/local/bin/
 
+
 format:
 	go fmt ./...