mirror of
https://github.com/vakius/hassio-addon-lifepo4wered.git
synced 2025-12-12 21:45:36 +02:00
Update Dockerfile
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
FROM ubuntu:latest as build
|
FROM alpine:latest as build
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apt-get update && \
|
RUN apk add linux-headers i2c-tools-dev make g++ git && \
|
||||||
apt-get -y install build-essential git libsystemd-dev && \
|
|
||||||
git clone https://github.com/xorbit/LiFePO4wered-Pi.git && \
|
git clone https://github.com/xorbit/LiFePO4wered-Pi.git && \
|
||||||
cd LiFePO4wered-Pi && \
|
cd LiFePO4wered-Pi && \
|
||||||
make all USE_SYSTEMD=0 PREFIX=/usr
|
make all USE_SYSTEMD=0 PREFIX=/usr
|
||||||
|
|
||||||
|
|
||||||
FROM homeassistant/aarch64-base:latest
|
FROM homeassistant/aarch64-base:latest
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user