From c0701d1ef56927131c517ad0d7eaf2311ee08712 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 18 Mar 2018 11:54:02 +0100 Subject: [PATCH] Update build system --- Dockerfile | 10 +++++----- scripts/enter.sh | 2 +- scripts/patches.sh | 0 3 files changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 scripts/patches.sh diff --git a/Dockerfile b/Dockerfile index 90744ae20..f30310f98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM ubuntu:16.04 +FROM alpine:3.7 -RUN apt-get update && apt-get install -y \ - wget patch vimp cpio python unzip rsync bc bzip2 ncurses-dev \ - git make g++ python-matplotlib python-numpy graphviz + +RUN apk add --no-cache \ + wget patch vim cpio python unzip rsync bc bzip2 ncurses-dev \ + git make g++ file perl bash binutils # Get buildroot WORKDIR /build -COPY . /build diff --git a/scripts/enter.sh b/scripts/enter.sh index 824f96853..34f560a93 100755 --- a/scripts/enter.sh +++ b/scripts/enter.sh @@ -1,3 +1,3 @@ #!/bin/bash docker build -t hassbuildroot . -docker run -it --rm hassbuildroot /bin/bash +docker run -it --rm -v .:/build hassbuildroot /bin/bash diff --git a/scripts/patches.sh b/scripts/patches.sh old mode 100644 new mode 100755