Skip to content

Commit

Permalink
attempt to fix arm docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
infothrill committed Feb 20, 2021
1 parent bf13a3f commit a27a236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rmi:
docker rmi -f $(IMAGE_NAME)

post_checkout:
curl -L https://github.com/balena-io/qemu/releases/download/v5.2.0%2Bbalena4/qemu-5.2.0.balena4-arm.tar.gz | tar zxvf - -C && mv qemu-5.2.0+balena4-arm/qemu-arm-static .
docker run --rm --privileged multiarch/qemu-user-static:register --reset

post_push:
Expand Down
1 change: 1 addition & 0 deletions packaging/docker/arm32v7-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal as build
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y python3 python3-virtualenv python3-dev python3-wheel gcc
COPY qemu-arm-static /usr/bin
ADD src /src
RUN virtualenv /usr/local/dyndnsc && \
/usr/local/dyndnsc/bin/pip install /src
Expand Down

0 comments on commit a27a236

Please sign in to comment.