forked from MirrorHub/mautrix-whatsapp
Fix normal dockerfile
This commit is contained in:
parent
535efcc8bd
commit
c6180660c2
1 changed files with 1 additions and 4 deletions
|
@ -3,11 +3,8 @@ FROM golang:1-alpine AS builder
|
||||||
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
||||||
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev@edge_community
|
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev@edge_community
|
||||||
|
|
||||||
WORKDIR /build
|
|
||||||
COPY go.mod go.sum /build/
|
|
||||||
RUN go get
|
|
||||||
|
|
||||||
COPY . /build
|
COPY . /build
|
||||||
|
WORKDIR /build
|
||||||
RUN go build -o /usr/bin/mautrix-whatsapp
|
RUN go build -o /usr/bin/mautrix-whatsapp
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
Loading…
Reference in a new issue