Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
0cd8b71aba | |||
213ab51d05 | |||
17518603c6 | |||
b5fac10757 |
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/golang:1.21-alpine3.19 as builder
|
FROM docker.io/golang:1.23-alpine3.21 as builder
|
||||||
|
|
||||||
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||||
|
|
||||||
@ -13,14 +13,14 @@ RUN ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so
|
|||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
ENV VERSION=v0.6.4
|
ENV VERSION=v0.7.2
|
||||||
RUN git clone https://github.com/mautrix/discord.git
|
RUN git clone https://github.com/mautrix/discord.git
|
||||||
WORKDIR /build/discord
|
WORKDIR /build/discord
|
||||||
RUN git checkout $VERSION
|
RUN git checkout $VERSION
|
||||||
|
|
||||||
RUN go build -o /build/bin/mautrix-discord
|
RUN go build -o /build/bin/mautrix-discord
|
||||||
|
|
||||||
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
|
FROM docker.io/thallian/confd-env:3.21-3.2.0.2
|
||||||
|
|
||||||
RUN addgroup -g 2222 matrix-bridge
|
RUN addgroup -g 2222 matrix-bridge
|
||||||
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge
|
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge
|
||||||
|
Loading…
Reference in New Issue
Block a user