Files
Miroslav Šedivý 97d737683f Update Go version to 1.26.
- Updated Docker images and base images in build scripts to use Go 1.26.
- Modified server Dockerfile to set the base image to Go 1.26.
- Updated go.mod files in the server and utils/docker directories to specify Go 1.26.
- Updated dependencies in server/go.mod to their latest versions compatible with Go 1.26.
- Updated documentation to reflect the requirement for Go 1.26.
2026-10-20 10:34:54 +02:00

32 lines
672 B
Docker

ARG BASE_IMAGE=golang:1.26-trixie
FROM $BASE_IMAGE AS server
WORKDIR /src
#
# install dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
#
# clean up
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
ARG GIT_COMMIT
ARG GIT_BRANCH
ARG GIT_TAG
#
# build server
COPY . .
RUN ./build
#
# artifacts from this stage
# COPY --from=server /src/bin/plugins/ $NEKO_PLUGINS_DIR
# COPY --from=server /src/bin/neko /usr/bin/neko