Skip to content

Commit

Permalink
feat: 添加 receptor 二进制
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Apr 19, 2024
1 parent 66a1617 commit 7b9d450
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ RUN set -ex \
&& chmod 755 /usr/local/bin/check \
&& rm -f check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz

ARG VERSION=v3.10.7
ARG RECEPTOR_VERSION=v1.4.5
RUN set -ex \
&& wget -O /opt/receptor.tar.gz https://github.com/ansible/receptor/releases/download/${RECEPTOR_VERSION}/receptor_${RECEPTOR_VERSION/v/}_linux_${TARGETARCH}.tar.gz \
&& tar -xf /opt/receptor.tar.gz -C /usr/local/bin/ \
&& chown root:root /usr/local/bin/receptor \
&& chmod 755 /usr/local/bin/receptor \
&& rm -f /opt/receptor.tar.gz

ARG VERSION=v3.10.8
ENV VERSION=$VERSION

RUN set -ex \
Expand Down

0 comments on commit 7b9d450

Please sign in to comment.