# 1.8.0_181-8u181-b13-1~deb9u1-b13 FROM openjdk@sha256:1b842a215cf3437c9197f0f47e5c1a12f0a27aed27b84536ee3d8ef6b9b7e19e RUN apt-get update && \ apt-get install -y git && \ apt-get install -y libxml2-utils && \ apt-get install -y jq ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/concourse-java.sh /opt/ ENV DOCKER_VERSION=17.05.0-ce \ ENTRYKIT_VERSION=0.4.0 RUN apt-get update && \ apt-get install -y curl && \ apt-get install -y libudev1 && \ apt-get install -y iptables && \ curl https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz | tar zx && \ mv /docker/* /bin/ && chmod +x /bin/docker* # Install entrykit RUN curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSION}/entrykit_${ENTRYKIT_VERSION}_Linux_x86_64.tgz | tar zx && \ chmod +x entrykit && \ mv entrykit /bin/entrykit && \ entrykit --symlink ADD docker-lib.sh /docker-lib.sh ENTRYPOINT [ \ "switch", \ "shell=/bin/sh", "--", \ "codep", \ "/bin/docker daemon" \ ]