From a471cb9d22ad17a9e6fe67fd7d628f1287baca87 Mon Sep 17 00:00:00 2001
From: The_Spider <nhyatt@smoothnet.org>
Date: Sat, 30 Oct 2021 19:03:16 -0500
Subject: [PATCH] updates packages installed

---
 Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 603b996..075fd6e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,7 +16,7 @@ spec:
   containers:
   - name: compile
     imagePullPolicy: Always
-    image: ${repository}/dockerhub/library/golang
+    image: ${repository}/dockerhub/library/golang:latest
     tty: true
     command:
     - /bin/cat
@@ -55,7 +55,8 @@ spec:
             stage("Build go-temper") {
                 container("compile") {
                     sh """
-                        apk add --no-cache libusb-dev gcc g++ upx
+                        apt update
+                        apt install libusb-dev gcc g++ upx-ucl
                         GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o go-temper ./cmd/go-temper
                         upx --brute go-temper
                     """