Skip to content

Instantly share code, notes, and snippets.

Last active Feb 7, 2019
What would you like to do?
Jobson with docker binaries
FROM adamkewley/jobson:latest
RUN apt update && \
apt-get -y install apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common && \
curl -fsSL$(. /etc/os-release; echo "$ID")/gpg > /tmp/dkey; apt-key add /tmp/dkey && \
add-apt-repository \
"deb [arch=amd64]$(. /etc/os-release; echo "$ID") \
$(lsb_release -cs) \
stable" && \
apt-get update && \
apt-get -y install docker-ce
RUN usermod -aG docker jobson
docker build . -t jobson-docker
docker run --name jobson-docker -p ${HOST_PORT}:80 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${HOST_PATH}/jobson:/home/jobson:rw -d jobson-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment