4 Commits
v5 ... v8

Author SHA1 Message Date
6b53431bf1 Force golangci-lint cache directory for running as action.
All checks were successful
Build container / BuildImage (push) Successful in 1m46s
2025-09-11 08:09:23 +05:00
fba4800284 Export required env vars for Go toolchain.
All checks were successful
Build container / BuildImage (push) Successful in 3m7s
2025-09-11 06:10:02 +05:00
eeb176d1e9 Update Debian to Trixie (13).
All checks were successful
Build container / BuildImage (push) Successful in 1m58s
2025-09-11 02:34:15 +05:00
e92a5252b8 Install Fyne dependencies. 2025-09-11 02:32:26 +05:00
4 changed files with 15 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM debian:12.6-slim FROM debian:13.1-slim
COPY . /src COPY . /src
RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done

View File

@@ -2,9 +2,11 @@
Docker image with everything you might need for developing apps in Go. Docker image with everything you might need for developing apps in Go.
Includes neccessary headers and development packages for Fyne.
## What's inside ## What's inside
Debian 12 (slim) is used as base image. Debian 13 (slim) is used as base image.
| Binary | Version | Project | Repo | | Binary | Version | Project | Repo |
| ----------------- | ------- | --------------- | ------------------------------------------------------------ | | ----------------- | ------- | --------------- | ------------------------------------------------------------ |

View File

@@ -6,6 +6,14 @@ CMD=$*
# Just ensure we have PATH defined properly. # Just ensure we have PATH defined properly.
PATH="${PATH}:/usr/bin/:/usr/sbin/:/bin/:/usr/local/bin/:/opt/bin/" PATH="${PATH}:/usr/bin/:/usr/sbin/:/bin/:/usr/local/bin/:/opt/bin/"
# Also make sure that Go's environment variables are set.
export GOCACHE=/home/container/go/build
export GOMODCACHE=/home/container/go/pkg/mod
export GOPATH=/home/container/go
# ...and golangci-lint also!
export GOLANGCI_LINT_CACHE=/home/container/golangci-lint
if [ "${CMD}" == "" ]; then if [ "${CMD}" == "" ]; then
CMD="${INPUT_COMMAND}" CMD="${INPUT_COMMAND}"
fi fi

View File

@@ -2,3 +2,6 @@
apt update && apt upgrade -y apt update && apt upgrade -y
apt install -y build-essential curl file git make apt install -y build-essential curl file git make
# Fyne dependencies.
apt install -y libgl1-mesa-dev xorg-dev libxkbcommon-dev