mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-26 22:46:32 +00:00
Update Dockerfile
This commit is contained in:
parent
ad67be565c
commit
0edb48a2bf
15
Dockerfile
15
Dockerfile
@ -1,9 +1,22 @@
|
|||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
software-properties-common \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
|
||||||
|
&& add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
|
||||||
|
&& apt-get update && apt-get install -y docker-ce \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Build Tools
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
wget patch vim cpio python unzip rsync bc bzip2 ncurses-dev \
|
wget patch vim cpio python unzip rsync bc bzip2 ncurses-dev \
|
||||||
git make g++ file perl bash binutils locales qemu-utils
|
git make g++ file perl bash binutils locales qemu-utils \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Get buildroot
|
# Get buildroot
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user