mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
9bb06782b2
* Add Gitlab CI * Fix aarch64 edge build
32 lines
965 B
Ruby
32 lines
965 B
Ruby
FROM multiarch/ubuntu-core:amd64-xenial
|
|
|
|
# setup locals
|
|
RUN apt-get update && apt-get install -y \
|
|
jq \
|
|
git \
|
|
python3-setuptools \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
ENV LANG C.UTF-8
|
|
|
|
# Install docker
|
|
# https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
|
|
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/*
|
|
|
|
# setup arm binary support
|
|
RUN apt-get update && apt-get install -y \
|
|
qemu-user-static \
|
|
binfmt-support \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY hassio-builder.sh /usr/bin/
|
|
|
|
WORKDIR /data
|