Skip to content

Commit

Permalink
Use scratch as baseimage (#68)
Browse files Browse the repository at this point in the history
* Use scratch as baseimage

* Update action
  • Loading branch information
ludeeus authored Jul 4, 2022
1 parent ccd4a0e commit 8ea71ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV

- name: Build landingpage
uses: home-assistant/builder@2022.06.2
uses: home-assistant/builder@2022.07.0
with:
args: |
$BUILD_ARGS \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ FROM ${BUILD_FROM}
WORKDIR /
COPY --from=builder /usr/src/landingpage/landingpage /usr/bin/landingpage
COPY rootfs /

ENTRYPOINT ["/usr/bin/landingpage"]
10 changes: 5 additions & 5 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
image: homeassistant/{machine}-homeassistant
shadow_repository: ghcr.io/home-assistant
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base:3.16
armv7: ghcr.io/home-assistant/armv7-base:3.16
armhf: ghcr.io/home-assistant/armhf-base:3.16
amd64: ghcr.io/home-assistant/amd64-base:3.16
i386: ghcr.io/home-assistant/i386-base:3.16
aarch64: scratch
armv7: scratch
armhf: scratch
amd64: scratch
i386: scratch
codenotary:
signer: [email protected]
base_image: [email protected]
Expand Down
6 changes: 0 additions & 6 deletions rootfs/etc/services.d/landingpage/run

This file was deleted.

0 comments on commit 8ea71ae

Please sign in to comment.