Skip to content

Instantly share code, notes, and snippets.

View bitsofinfo's full-sized avatar
💣
making bugs

bitsofinfo bitsofinfo

💣
making bugs
View GitHub Profile
@bitsofinfo
bitsofinfo / private.python.azure.artifacts.Dockerfile
Last active June 3, 2021 16:27
example Dockerfile for installing pip python modules from private Azure Artifacts feed; more info: https://bitsofinfo.wordpress.com/2021/06/03/private-python-azure-artifacts-feeds-alpine-docker/
#-----------------------------------------
# Build layer: here we setup the base
# python environment, install core modules
# including the pre-requisites for talking
# to a private Azure Artifacts repo
#
# https://docs.microsoft.com/en-us/azure/devops/artifacts/quickstarts/python-packages
#
# https://bitsofinfo.wordpress.com/2021/06/03/private-python-azure-artifacts-feeds-alpine-docker/
#
package org.bitsofinfo;
import java.security.Provider;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.jasypt.encryption.pbe.StandardPBEByteEncryptor;
import org.jasypt.exceptions.EncryptionOperationNotPossibleException;
import org.jasypt.salt.RandomSaltGenerator;
/**