]> xenbits.xensource.com Git - people/sstabellini/mojo.git/.git/commitdiff
Fix rkt and stage1-xen build
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 12 Apr 2018 23:24:46 +0000 (16:24 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 12 Apr 2018 23:24:46 +0000 (16:24 -0700)
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
alpine-dom0/rkt-builder/Dockerfile

index 7feb4b33f127df844668be7950d945a0688fa353..6388e97a57c447405344184e2c27232909bef208 100644 (file)
@@ -1,4 +1,4 @@
-FROM FROM alpine:3.6 as rkt-builder
+FROM alpine:3.6 as rkt-builder
 
 ENV SOURCE_DIR=/root
 ENV OUT_DIR=/out
@@ -9,7 +9,7 @@ RUN \
 # 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 && \
@@ -20,10 +20,10 @@ git clone https://github.com/coreos/rkt.git && \
 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 && \