updates packages installed
This commit is contained in:
parent
1175588b67
commit
a471cb9d22
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -16,7 +16,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: compile
|
- name: compile
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
image: ${repository}/dockerhub/library/golang
|
image: ${repository}/dockerhub/library/golang:latest
|
||||||
tty: true
|
tty: true
|
||||||
command:
|
command:
|
||||||
- /bin/cat
|
- /bin/cat
|
||||||
@ -55,7 +55,8 @@ spec:
|
|||||||
stage("Build go-temper") {
|
stage("Build go-temper") {
|
||||||
container("compile") {
|
container("compile") {
|
||||||
sh """
|
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
|
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o go-temper ./cmd/go-temper
|
||||||
upx --brute go-temper
|
upx --brute go-temper
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user