From d1405d7410accbb9ee51e116297e9ce671ab1b56 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 25 Mar 2022 13:22:44 -0400 Subject: [PATCH] [dev.boringcrypto] crypto/internal/boring: update build instructions to use podman The 'docker' command line tool is no longer available on my Linux laptop due to Docker's new licensing rules. 'sudo podman' seems to work fine, so suggest that instead. Change-Id: Ib80211404dadb567c8741720ece2a73a6ad4040a Reviewed-on: https://go-review.googlesource.com/c/go/+/395874 Trust: Russ Cox Run-TryBot: Russ Cox TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- src/crypto/internal/boring/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/crypto/internal/boring/Dockerfile b/src/crypto/internal/boring/Dockerfile index 811a6dc3798..dab7c85f7c5 100644 --- a/src/crypto/internal/boring/Dockerfile +++ b/src/crypto/internal/boring/Dockerfile @@ -6,10 +6,12 @@ # Security Policy. To use it, build the image, run it, and then extract # /boring/godriver/goboringcrypto_linux_amd64.syso. # -# $ docker build -t goboring:140sp3678 . -# $ docker run -it --name goboring-140sp3678 goboring:140sp3678 -# $ docker cp goboring-140sp3678:/boring/godriver/goboringcrypto_linux_amd64.syso . +# $ podman build -t goboring:140sp3678 . +# $ podman run -it --name goboring-140sp3678 goboring:140sp3678 +# $ podman cp goboring-140sp3678:/boring/godriver/goboringcrypto_linux_amd64.syso . # $ sha256sum goboringcrypto_linux_amd64.syso # compare to docker output +# +# The podman commands may need to run under sudo to work around a subuid/subgid bug. FROM ubuntu:focal