Commit a15199d6 authored by Eric Pellegrini's avatar Eric Pellegrini

added Dockerfile for running packeme as Docker entrypoint

parent 1daf9066
FROM ubuntu:bionic as build
SHELL ["/bin/bash", "-c"]
RUN export DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt install -y apt-utils
RUN apt install -y packer
RUN apt install -y wget
RUN apt install -y gcc
WORKDIR /tmp
RUN wget https://download.qemu.org/qemu-4.2.0.tar.xz
RUN tar xvJf qemu-4.2.0.tar.xz
WORKDIR qemu-4.2.0
RUN apt install -y pkg-config
RUN apt install -y libglib2.0-dev
RUN apt install -y libpixman-1-dev
RUN apt install -y flex
RUN apt install -y bison
RUN ./configure ; make ; make install
RUN apt install -y python3-pip
RUN pip3 install packme
WORKDIR /tmp
ENTRYPOINT ["/usr/local/bin/packme"]
......@@ -14,7 +14,7 @@ parameters:
ssh_username: root
user: si-admin
user_fullname: si-admin
headless: false
headless: true
build_output_directory: builds
packer:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment