Skip to content

Commit

Permalink
Use peer-finder with correct arch
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 12, 2024
1 parent 9a1a284 commit 045a855
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:bookworm as builder
FROM debian:12 as builder

ARG TARGETOS
ARG TARGETARCH
ARG PEER_FINDER_VERSION=v1.3.0

ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
Expand All @@ -22,9 +26,13 @@ RUN set -x \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl unzip

RUN set -x \
&& curl -fsSL -o peer-finder https://github.com/kmodules/peer-finder/releases/download/v1.0.1-ac/peer-finder \
&& curl -fsSL -o peer-finder.tar.gz https://github.com/kmodules/peer-finder/releases/download/${PEER_FINDER_VERSION}/peer-finder-${TARGETOS}-${TARGETARCH}.tar.gz \
&& tar -xzvf peer-finder.tar.gz \
&& mv peer-finder-${TARGETOS}-${TARGETARCH} peer-finder \
&& chmod 755 peer-finder



FROM alpine:latest

RUN apk add --no-cache openssl gettext
Expand Down

0 comments on commit 045a855

Please sign in to comment.