You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
47bafebd7c
Current travis build only performs debug build with python 2. This patch allows to test debug and release build, python2 and python3 build. Signed-off-by: Maurice Ma <maurice.ma@intel.com>
20 lines
711 B
Docker
20 lines
711 B
Docker
FROM ubuntu:18.04
|
|
|
|
# Install build dependencies
|
|
RUN apt-get update && apt-get -y install sudo build-essential python python3 \
|
|
uuid-dev nasm openssl gcc-multilib git m4 bison flex
|
|
|
|
# Install ACPICA Utilities
|
|
ADD http://ftp.br.debian.org/debian/pool/main/a/acpica-unix/acpica-tools_20160831-1+b1_amd64.deb /tmp
|
|
RUN cd /tmp && \
|
|
dpkg -i acpica-tools_20160831-1+b1_amd64.deb && \
|
|
apt-get install -f && \
|
|
apt-get -y install python3-distutils
|
|
|
|
# Add a user account, give sudo access
|
|
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
|
|
|
USER docker
|
|
RUN git config --global user.name "User" && git config --global user.email "user@example.com"
|
|
CMD /bin/bash
|