Files
Daniel Markstedt 27da017951 improve media workflows and version reporting in Go clients
- Extract selected archives directly into the image directory, skip existing images, and move properties files into the configuration directory without duplicate temporary storage.

- Limit no-media selectors to compatible image types, render device parameters without Go map delimiters, and return uploads to the upload page.

- Limit web uploads to the largest supported drive preset and simplify upload/download destination selection.

- Generate the shared Go project version from the C++ source, expose it through -v in the web, OLED, and Control Board clients, and verify it in Make, CI, and Debian builds.

- Update tests and documentation for the corrected web workflows and version flags.
2026-08-22 00:26:25 +02:00

18 lines
416 B
Docker

ARG GO_VERSION=1.25.13
FROM golang:${GO_VERSION}-bookworm
WORKDIR /src
RUN apt-get update \
&& apt-get install --yes --no-install-recommends protobuf-compiler \
&& rm -rf /var/lib/apt/lists/* \
&& go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
COPY cpp/shared/piscsi_version.cpp cpp/shared/piscsi_version.cpp
COPY go go
COPY proto proto
WORKDIR /src/go
ENTRYPOINT ["make", "test"]