2020-05-04 03:45:36 -07:00
|
|
|
ARG GOVERSION=latest
|
|
|
|
FROM golang:$GOVERSION
|
2020-02-14 02:44:31 -07:00
|
|
|
|
2023-11-13 23:46:14 -07:00
|
|
|
LABEL org.opencontainers.image.authors="The Syncthing Project" \
|
|
|
|
org.opencontainers.image.url="https://syncthing.net" \
|
|
|
|
org.opencontainers.image.documentation="https://docs.syncthing.net" \
|
|
|
|
org.opencontainers.image.source="https://github.com/syncthing/syncthing" \
|
2023-11-14 00:17:34 -07:00
|
|
|
org.opencontainers.image.vendor="The Syncthing Project" \
|
|
|
|
org.opencontainers.image.licenses="MPL-2.0" \
|
2023-11-13 23:46:14 -07:00
|
|
|
org.opencontainers.image.title="Syncthing Builder"
|
|
|
|
|
2020-02-14 02:44:31 -07:00
|
|
|
# FPM to build Debian packages
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2020-02-23 00:40:42 -07:00
|
|
|
locales rubygems ruby-dev build-essential git \
|
2020-02-14 02:44:31 -07:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
2021-08-17 00:38:42 -07:00
|
|
|
&& gem install fpm
|