Skip to content

Commit

Permalink
Improve HAOS builder Dockerfile (home-assistant#2011)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Jul 8, 2022
1 parent 5932f12 commit 8f07d16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
15 changes: 3 additions & 12 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# We don't need this folder because we map the hole folder
buildroot/
buildroot-external/
buildroot-patches/

# Output/Release directory gets created using build scripts
output*/
release/

# Ignore hidden directories as well
.git/
.github/
# Ignore everything except what we really need
*
!scripts/
17 changes: 7 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,24 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cpio \
file \
git \
graphviz \
jq \
make \
ncurses-dev \
openssh-client \
patch \
perl \
python3 \
python3-matplotlib \
python-is-python3 \
graphviz \
qemu-utils \
rsync \
skopeo \
sudo \
unzip \
zip \
wget \
qemu-utils \
openssh-client \
vim \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update && apt-get install -y --no-install-recommends \
skopeo \
jq \
wget \
zip \
&& rm -rf /var/lib/apt/lists/*

# Init entry
Expand Down

0 comments on commit 8f07d16

Please sign in to comment.