Docker image containing alpine + zip utility
50K+
This image is used for deployment and utility purposes. ZIP utility is installed.
The idea is to have a clean alpine image with ZIP utility so certain stages of a CI pipeline can run make use of the utility.
Use this container anywhere you need to use ZIP utility.
stage('get the code') {
agent {
docker {
image 'any-image-needed-to-do-this'
reuseNode true
}
}
steps {
...
// checkout code from git?
// build assets
// unit tests?
}
}
stage('ZIP directory to be uploaded or unzip something') {
agent {
docker {
image 'javieraviles/zip'
reuseNode true
}
}
steps {
echo "[INFO] Creating zip file..."
sh "zip -r ${PROJECT_NAME}.zip zip_file_name -x \".ignored-file\"; ls -al;"
}
}
Content type
Image
Digest
Size
3 MB
Last updated
over 7 years ago
docker pull javieraviles/zip