use postgres

This commit is contained in:
Sebastian Hugentobler 2019-03-27 18:33:54 +01:00
parent dbceee17ed
commit f78c863d9f
3 changed files with 10 additions and 3 deletions

View file

@ -1,5 +1,7 @@
FROM golang:alpine as builder
ENV VERSION=120ae016a68c4b65cf443c9577c4d1741e34c8d0
RUN apk --no-cache add \
git \
gcc \
@ -8,6 +10,7 @@ RUN apk --no-cache add \
WORKDIR /build
RUN git clone https://github.com/tulir/mautrix-whatsapp.git
WORKDIR /build/mautrix-whatsapp
RUN git checkout $VERSION
RUN go get
RUN go build -o /build/bin/mautrix-whatsapp