Merge pull request #24 from DominicBreuker/golang-update

Update to go 1.26
This commit is contained in:
Dominic Breuker
2026-03-01 10:06:13 +01:00
committed by GitHub
8 changed files with 8 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
FROM golang:1.19-bullseye
FROM golang:1.26-trixie
RUN apt-get update && apt-get install -y upx && rm -rf /var/lib/apt/lists/*

View File

@@ -1,4 +1,4 @@
FROM golang:1.19-bullseye
FROM golang:1.26-trixie
RUN apt-get update && apt-get -y install cron python3 sudo procps

View File

@@ -1,4 +1,4 @@
FROM debian:stretch
FROM debian:bookworm
RUN apt-get update && apt-get -y install cron python3 sudo procps

View File

@@ -1,4 +1,4 @@
FROM golang:1.19-bullseye
FROM golang:1.26-trixie
RUN apt-get update && apt-get -y install cron python3 sudo procps

View File

@@ -4,7 +4,7 @@ set -e
sudo cron -f &
sleep 1
sudo ps | grep cron 1>/dev/null
ps -auxf | grep cron 1>/dev/null
echo "[+] cron started"
echo "[+] Running as user `id`"

View File

@@ -4,7 +4,7 @@ set -e
sudo cron -f &
sleep 1
sudo ps | grep cron 1>/dev/null
ps -auxf | grep cron 1>/dev/null
echo "[+] cron started"
echo "[+] Running as user `id`"

View File

@@ -35,7 +35,7 @@ fi
sudo cron -f &
sleep 1
sudo ps | grep cron 1>/dev/null
ps -auxf | grep cron 1>/dev/null
echo "[+] cron started"
echo "[+] Running as user `id`"

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/dominicbreuker/pspy
go 1.18
go 1.26
require (
github.com/spf13/cobra v1.4.0