Skip to content

Commit b54e4ac

Browse files
committed
fix: update Docker workflow to include necessary package installation for PAM plugin build
- Added a command to install the `libpam0g-dev` package before building the PAM plugin, ensuring all required dependencies are available during the build process. - Improved the reliability of the plugin build by addressing missing system dependencies.
1 parent 8043733 commit b54e4ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
go mod tidy
139139
xgo -image techknowlogick/xgo:latest -v -ldflags="-s -w" -go $GO_RELEASE_V -out pam -dest ../../../bin \
140140
-buildmode=plugin -targets="linux/amd64,linux/386,linux/arm64,linux/arm-7" \
141-
-deps 'https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz' \
141+
--bringupcmd 'apt update && apt install -y libpam0g-dev' \
142142
-env="GO111MODULE=on,GOPROXY=https://proxy.golang.org,direct" .
143143
cd ../../..
144144
fi

0 commit comments

Comments
 (0)