Skip to content

Instantly share code, notes, and snippets.



Last active Feb 9, 2017
What would you like to do?
docker build --rm -t minikube-iso-builder .
cd /path/to/kubernetes/minikube
docker run --rm -it -v "$PWD:/usr/local/src" minikube-iso-builder make minikube-iso
FROM golang:1.6
RUN dpkg --add-architecture i386 \
&& apt-get -q update \
&& apt-get -q -y upgrade \
&& apt-get -y install \
automake \
bc \
build-essential \
bzr \
cpio \
cvs \
gcc-multilib \
git \
gnupg \
golang-go \
libc6:i386 \
libncurses5-dev \
libtool \
locales \
mercurial \
p7zip-full \
python \
rsync \
subversion \
unzip \
vim \
wget \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -c -f UTF-8 -i en_US en_US.UTF-8
WORKDIR /usr/local/src
VOLUME /usr/local/src
CMD ["/bin/bash"]

This comment has been minimized.

Copy link
Owner Author

@tvon tvon commented Feb 9, 2017

Build fails on

gpg2 --trusted-key  --verify-files "/usr/local/src/out/buildroot/dl"/rkt-v1.23.0.tar.gz.asc
gpg: `--verify-files' is not a valid long keyID

This is from deploy/iso/minikube-iso/package/rkt-bin/

  gpg2 \
    --trusted-key $(shell gpg2 --with-colons --keyid-format LONG -k | egrep ^pub | cut -d ':' -f5) \
    --verify-files $(BR2_DL_DIR)/rkt-v$(RKT_BIN_VERSION).tar.gz.asc

The $(shell gpg2 --with-colons --keyid-format LONG -k | egrep ^pub | cut -d ':' -f5) comes back empty in this context, though if I get the key (by running that commend in the build and copying the value out) the gpg2 command succeeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment