Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
fba4800284
|
|||
eeb176d1e9
|
|||
e92a5252b8
|
@@ -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
|
||||||
|
@@ -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 |
|
||||||
| ----------------- | ------- | --------------- | ------------------------------------------------------------ |
|
| ----------------- | ------- | --------------- | ------------------------------------------------------------ |
|
||||||
|
@@ -6,6 +6,11 @@ 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
|
||||||
|
|
||||||
if [ "${CMD}" == "" ]; then
|
if [ "${CMD}" == "" ]; then
|
||||||
CMD="${INPUT_COMMAND}"
|
CMD="${INPUT_COMMAND}"
|
||||||
fi
|
fi
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user