Skip to content

Commit

Permalink
Merge pull request #21 from manuelbuil/master
Browse files Browse the repository at this point in the history
Fix arm bug by creating a specific Dockerfile for arm
  • Loading branch information
manuelbuil authored Sep 22, 2021
2 parents f9a3176 + 8be624c commit eee5f4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ steps:
- name: docker-publish
image: plugins/docker
settings:
dockerfile: package/Dockerfile
dockerfile: package/Dockerfile.arm
password:
from_secret: docker_password
repo: "rancher/klipper-lb"
Expand Down
5 changes: 5 additions & 0 deletions package/Dockerfile.arm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Alpine has a different image for arm https://github.com/docker-library/repo-info/blob/master/repos/alpine/remote/3.12.8.md
FROM alpine@sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a
RUN apk add -U --no-cache iptables
COPY entry /usr/bin/
CMD ["entry"]

0 comments on commit eee5f4f

Please sign in to comment.