From cf971ea5991cabba509fa82d77a66f0ddc1842bd Mon Sep 17 00:00:00 2001 From: moloch-- <875022+moloch--@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:26:52 -0700 Subject: [PATCH] Go 1.22.5, Zig 0.13.0 --- Dockerfile | 6 +++--- go-assets.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8036015236..74c92d8c1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # STAGE: base ## Compiles Sliver for use -FROM golang:1.22.2 as base +FROM golang:1.22.5 AS base ### Base packages RUN apt-get update --fix-missing && apt-get -y install \ @@ -29,7 +29,7 @@ RUN cp -vv sliver-server /opt/sliver-server # STAGE: test ## Run unit tests against the compiled instance ## Use `--target test` in the docker build command to run this stage -FROM base as test +FROM base AS test RUN apt-get update --fix-missing \ && apt-get -y upgrade \ @@ -43,7 +43,7 @@ RUN /go/src/github.com/bishopfox/sliver/go-tests.sh # STAGE: production ## Final dockerized form of Sliver -FROM debian:bookworm-slim as production +FROM debian:bookworm-slim AS production ### Install production packages RUN apt-get update --fix-missing \ diff --git a/go-assets.sh b/go-assets.sh index 3e33810e2c..9441915d20 100755 --- a/go-assets.sh +++ b/go-assets.sh @@ -20,9 +20,9 @@ set -e # Creates the static go asset archives -GO_VER="1.22.2" -GARBLE_VER="1.22.2" -ZIG_VER="0.12.0" +GO_VER="1.22.5" +GARBLE_VER="1.22.5" +ZIG_VER="0.13.0" SGN_VER="0.0.3" BLOAT_FILES="AUTHORS CONTRIBUTORS PATENTS VERSION favicon.ico robots.txt SECURITY.md CONTRIBUTING.md LICENSE README.md ./doc ./test ./api ./misc"