Skip to content

Commit

Permalink
Add webinterface files to Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanwichmann committed Mar 31, 2023
1 parent 598d756 commit c48b1a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ dockers:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
extra_files:
- gui

- image_templates: ["stefanwichmann/{{ .ProjectName }}:{{ .Version }}-armv7"]
goos: linux
Expand All @@ -75,6 +77,8 @@ dockers:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
extra_files:
- gui

- image_templates: ["stefanwichmann/{{ .ProjectName }}:{{ .Version }}-arm64"]
goos: linux
Expand All @@ -91,6 +95,8 @@ dockers:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
extra_files:
- gui

docker_manifests:
- name_template: stefanwichmann/{{ .ProjectName }}:{{ .Version }}
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ VOLUME /etc/opt/kelvin

RUN apk --no-cache add ca-certificates tzdata && update-ca-certificates
COPY kelvin /opt/kelvin/
COPY gui /opt/kelvin/gui

ENTRYPOINT /opt/kelvin/kelvin -enableWebInterface -configuration=/etc/opt/kelvin/config.json 2>&1 | tee /var/log/kelvin.log

0 comments on commit c48b1a8

Please sign in to comment.