Skip to content

Commit 8265043

Browse files
author
Hans Tuscher
committed
update go utils
1 parent 7d298f6 commit 8265043

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docker/toolbox/latest/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ RUN apk add --no-cache \
2929
&& wget -O /tmp/baselayout-install.sh https://raw.githubusercontent.com/webdevops/Docker-Image-Baselayout/master/install.sh \
3030
&& sh /tmp/baselayout-install.sh /baselayout \
3131
## Install go-replace
32-
&& wget -O "/baselayout/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-64-linux" \
32+
&& wget -O "/baselayout/usr/local/bin/go-replace" "https://github.com/webdevops/go-replace/releases/download/22.10.0/go-replace.linux.amd64" \
3333
&& chmod +x "/baselayout/usr/local/bin/go-replace" \
3434
&& "/baselayout/usr/local/bin/go-replace" --version \
3535
&& ln -s /baselayout/usr/local/bin/go-replace /usr/local/bin/ \
3636
# Install gosu
37-
&& wget -O "/baselayout/sbin/gosu" "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64" \
38-
&& wget -O "/tmp/gosu.asc" "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc" \
37+
&& wget -O "/baselayout/sbin/gosu" "https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64" \
38+
&& wget -O "/tmp/gosu.asc" "https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64.asc" \
3939
&& export GNUPGHOME="$(mktemp -d)" \
4040
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
4141
&& gpg --batch --verify /tmp/gosu.asc "/baselayout/sbin/gosu" \

template/Dockerfile/tools.jinja2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{% macro goreplace(path="/usr/local/bin", version="1.1.2") -%}
1+
{% macro goreplace(path="/usr/local/bin", version="22.10.0") -%}
22
## Install go-replace
3-
&& wget -O "{{ path }}/go-replace" "https://github.com/webdevops/goreplace/releases/download/{{ version }}/gr-64-linux" \
3+
&& wget -O "{{ path }}/go-replace" "https://github.com/webdevops/go-replace/releases/download/{{ version }}/go-replace.linux.amd64" \
44
&& chmod +x "{{ path }}/go-replace" \
55
&& "{{ path }}/go-replace" --version
66
{%- endmacro %}
77

8-
{% macro gosu(path="/sbin", arch="amd64", version="1.10") -%}
8+
{% macro gosu(path="/sbin", arch="amd64", version="1.16") -%}
99
# Install gosu
1010
&& wget -O "{{ path }}/gosu" "https://github.com/tianon/gosu/releases/download/{{ version }}/gosu-{{ arch }}" \
1111
&& wget -O "/tmp/gosu.asc" "https://github.com/tianon/gosu/releases/download/{{ version }}/gosu-{{ arch }}.asc" \

0 commit comments

Comments
 (0)