Skip to content

Commit

Permalink
Publish image for arm/v7 and arm64 (#6)
Browse files Browse the repository at this point in the history
* Publish image for arm/v7 and arm64

* Fix libyaml install
  • Loading branch information
tschaffter authored May 16, 2021
1 parent bc72141 commit 8a868cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: ${{ steps.prep.outputs.push }}
tags: ${{ steps.prep.outputs.tags }}
labels: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Lock threads'
name: Lock threads

on:
schedule:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
libssl-dev \
libyaml-dev \
&& rm -rf \
/tmp/* \
/var/tmp/* \
Expand All @@ -61,8 +62,8 @@ RUN apt-get update \
COPY --from=stubby /usr/local/lib/libgetdns.so.10 /lib/x86_64-linux-gnu/
COPY --from=stubby /usr/local/bin/stubby /bin/
COPY --from=stubby /usr/local/bin/getdns_server_mon /bin/
COPY --from=stubby /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 /lib/x86_64-linux-gnu/
COPY --from=stubby /tmp/getdns/stubby/stubby.yml.example /usr/local/etc/stubby/stubby.yml
# COPY --from=stubby /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 /lib/x86_64-linux-gnu/

RUN adduser --system --no-create-home stubby

Expand Down

0 comments on commit 8a868cb

Please sign in to comment.