Skip to content

Commit

Permalink
Renovation Alpine 3.18 and ARM32 builds (#81)
Browse files Browse the repository at this point in the history
* Upgrade Alpine base 3.18, and dont cache apk
* Add arm32v6 and arm32v7 builds.
* Add noop test target to Makefile
  • Loading branch information
macropin committed May 31, 2023
1 parent 37967ed commit cb88327
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.14
FROM alpine:3.18

RUN apk update && \
apk add bash git openssh rsync augeas shadow rssh && \
apk add --no-cache bash git openssh rsync augeas shadow rssh && \
deluser $(getent passwd 33 | cut -d: -f1) && \
delgroup $(getent group 33 | cut -d: -f1) 2>/dev/null || true && \
mkdir -p ~root/.ssh /etc/authorized_keys && chmod 700 ~root/.ssh/ && \
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2021 Volt Grid Pty Ltd
Copyright (c) 2015-2023 Volt Grid Pty Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ push: ## Pushes the docker image to hub.docker.com
clean: ## Remove built images
docker rmi $(IMAGE_NAME):latest || true
docker rmi $(IMAGE_NAME):$(TAG) || true

_ci_test:
echo "NOOP"

0 comments on commit cb88327

Please sign in to comment.