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