toolchain: Add Go package

- Add Go 1.23.
- Set up PATH for container to include the Go binaries.
This commit is contained in:
Michael Cardell Widerkrantz 2025-07-16 19:08:36 +02:00 committed by Mikael Ågren
parent a0f699aea5
commit babdef52f5
No known key found for this signature in database
GPG key ID: E02DA3D397792C46

View file

@ -18,6 +18,7 @@ RUN apt-get -qq update -y \
gawk \ gawk \
gcc \ gcc \
git \ git \
golang-1.23 \
gperf \ gperf \
graphviz \ graphviz \
help2man \ help2man \
@ -68,3 +69,4 @@ RUN /buildtools.sh
FROM base FROM base
LABEL org.opencontainers.image.description="Toolchain for building TKey FPGA bitstream" LABEL org.opencontainers.image.description="Toolchain for building TKey FPGA bitstream"
COPY --from=toolsbuilder /usr/local/ /usr/local COPY --from=toolsbuilder /usr/local/ /usr/local
ENV PATH="$PATH:/usr/lib/go-1.23/bin"