Skip to content

Commit

Permalink
Fix footloose-alpine Dockerfile
Browse files Browse the repository at this point in the history
The footloose-alpine image broke because the cri-dockerd release ships a
tar.gz. rather than an executable.

Signed-off-by: Juan Luis de Sousa-Valadas Castaño <[email protected]>
  • Loading branch information
juanluisvaladas committed Dec 23, 2022
1 parent e79910d commit 3f10309
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inttest/footloose-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ RUN curl -L https://github.com/etcd-io/etcd/releases/download/v$ETCD_VERSION/etc
| tar xz -C /opt --strip-components=1

# Install cri-dockerd shim for custom CRI testing
RUN curl -sSfLo /usr/local/bin/cri-dockerd https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.0/cri-dockerd-0.3.0.amd64 \
RUN curl -sSfLo /tmp/cri-dockerd.tgz https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.0/cri-dockerd-0.3.0.amd64.tgz \
&& tar xf /tmp/cri-dockerd.tgz --directory /tmp/ \
&& mv /tmp/cri-dockerd/cri-dockerd /usr/local/bin/cri-dockerd \
&& rm -rf /tmp/cri-dockerd \
&& chmod 755 /usr/local/bin/cri-dockerd
ADD cri-dockerd.sh /etc/init.d/cri-dockerd

0 comments on commit 3f10309

Please sign in to comment.