-FROM FROM alpine:3.6 as rkt-builder
+FROM alpine:3.6 as rkt-builder
ENV SOURCE_DIR=/root
ENV OUT_DIR=/out
# rkt dependencies
apk add git autoconf automake gcc patch musl-dev bash squashfs-tools acl-dev libacl grep gnupg file go make diffutils coreutils cpio gzip && \
# stage1-xen dependencies
- apk add bc jq linux-headers glide
+ apk add bc jq linux-headers glide wget tar xz binutils-dev build-base libressl-dev ncurses-dev xz-dev zlib-dev libelf-dev perl
RUN \
cd $SOURCE_DIR && \
cd rkt && \
git checkout -b my-$RKT_VERSION $RKT_VERSION && \
./autogen.sh && \
-./configure --with-stage1-flavors=coreos,fly --disable-tpm --disable-sdjournal && \
+./configure --with-stage1-flavors=fly --disable-tpm --disable-sdjournal && \
make -j "$(getconf _NPROCESSORS_ONLN)" && \
mkdir -p $OUT_DIR/usr/bin && \
-cp ./build-rkt-1.29.0+git/target/bin/rkt $OUT_DIR/usr/bin && \
+cp ./build-rkt-1.26.0/target/bin/rkt $OUT_DIR/usr/bin && \
cd .. && \
git clone http://github.com/rkt/stage1-xen.git && \
cd stage1-xen && \