docker: Build docker image based on the local codebase.

- Like the snap and appimage builds do.
This commit is contained in:
Andrew Hamilton 2021-12-09 13:28:55 +10:00
parent 8b4a9c4210
commit a832aeb803

View file

@ -4,11 +4,8 @@
FROM ubuntu:impish
RUN apt update && apt install -y git sudo
RUN git clone https://github.com/ahamilton/eris
RUN cd eris && git checkout 7fa155da72fa6062edf782c6375fb36758ecb0e6
RUN rm -rf eris/.git
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y sudo tzdata
COPY . eris
RUN cd eris && ./install
ENTRYPOINT ["eris"]