Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
6b53431bf1
|
|||
fba4800284
|
|||
eeb176d1e9
|
|||
e92a5252b8
|
@@ -1,4 +1,4 @@
|
||||
FROM debian:12.6-slim
|
||||
FROM debian:13.1-slim
|
||||
|
||||
COPY . /src
|
||||
RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done
|
||||
|
@@ -2,9 +2,11 @@
|
||||
|
||||
Docker image with everything you might need for developing apps in Go.
|
||||
|
||||
Includes neccessary headers and development packages for Fyne.
|
||||
|
||||
## What's inside
|
||||
|
||||
Debian 12 (slim) is used as base image.
|
||||
Debian 13 (slim) is used as base image.
|
||||
|
||||
| Binary | Version | Project | Repo |
|
||||
| ----------------- | ------- | --------------- | ------------------------------------------------------------ |
|
||||
|
@@ -6,6 +6,14 @@ CMD=$*
|
||||
# Just ensure we have PATH defined properly.
|
||||
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
|
||||
CMD="${INPUT_COMMAND}"
|
||||
fi
|
||||
|
@@ -2,3 +2,6 @@
|
||||
|
||||
apt update && apt upgrade -y
|
||||
apt install -y build-essential curl file git make
|
||||
|
||||
# Fyne dependencies.
|
||||
apt install -y libgl1-mesa-dev xorg-dev libxkbcommon-dev
|
||||
|
Reference in New Issue
Block a user