You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
4.0KB

  1. FROM docker:19.03.8-dind
  2. ENV BASH_VERSION=5.0.11-r1 \
  3. BZIP2_VERSION=1.0.8-r1 \
  4. BZR_VERSION=2.7.0-r1 \
  5. CURL_VERSION=7.67.0-r0 \
  6. E2FSPROGS_VERSION=1.45.5-r0 \
  7. GIT_VERSION=2.24.3-r0 \
  8. GROFF_VERSION=1.22.4-r0 \
  9. IPTABLES_VERSION=1.8.3-r2 \
  10. JAVA_VERSION=8.242.08-r0 \
  11. MERCURIAL_VERSION=5.3.2-r0 \
  12. JQ_VERSION=1.6-r0 \
  13. OPENSSH_VERSION=8.1_p1-r0 \
  14. PROCPS_VERSION=3.3.16-r0 \
  15. PY2PIP_VERSION=18.1-r0 \
  16. PYTHON2_VERSION=2.7.16-r3 \
  17. SUBVERSION_VERSION=1.12.2-r1 \
  18. UNZIP_VERSION=6.0-r6 \
  19. WGET_VERSION=1.20.3-r0 \
  20. XZ_VERSION=5.2.4-r0 \
  21. ZIP_VERSION=3.0-r7 \
  22. AWSCLI_VERSION=1.17.11 \
  23. GCLOUDSDK_VERSION=279.0.0 \
  24. JNLP_VERSION=3.40 \
  25. HELM_VERSION=2.16.1 \
  26. HELM_PLUGIN_PUSH_VERSION=0.7.1 \
  27. KUBECTL_VERSION=1.17.0 \
  28. CLOUDSDK_CORE_DISABLE_PROMPTS=1 \
  29. PAGE="more" \
  30. PATH=/opt/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
  31. LANG=C.UTF-8 \
  32. JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
  33. ARG BUILD_DATE
  34. ARG VCS_REF
  35. ARG VERSION
  36. ADD ./resources /resources
  37. RUN /resources/build && rm -rf /resources
  38. VOLUME /data
  39. VOLUME /var/lib/docker
  40. VOLUME /tmp
  41. WORKDIR /data
  42. ENTRYPOINT ["dockerd-entrypoint"]
  43. LABEL "maintainer"="cloudsquad@fxinnovation.com" \
  44. "org.label-schema.name"="jenkinsk8sslave" \
  45. "org.label-schema.base-image.name"="docker.io/library/docker" \
  46. "org.label-schema.base-image.version"="19.03.8-dind" \
  47. "org.label-schema.applications.java.version"=$JAVA_VERSION \
  48. "org.label-schema.applications.jnlp.version"=$JNLP_VERSION \
  49. "org.label-schema.applications.docker.version"=$DOCKER_VERSION \
  50. "org.label-schema.applications.google-cloud-sdk.version"=$GCLOUDSDK_VERSION \
  51. "org.label-schema.applications.kubectl.version"=$KUBECTL_VERSION \
  52. "org.label-schema.applications.bzr.version"=$BZR_VERSION \
  53. "org.label-schema.applications.git.version"=$GIT_VERSION \
  54. "org.label-schema.applications.curl.version"=$CURL_VERSION \
  55. "org.label-schema.applications.mercurial.version"=$MERCURIAL_VERSION \
  56. "org.label-schema.applications.openssh-client.version"=$OPENSSH_VERSION \
  57. "org.label-schema.applications.subversion.version"=$SUBVERSION_VERSION \
  58. "org.label-schema.applications.procps.version"=$PROCPS_VERSION \
  59. "org.label-schema.applications.bzip2.version"=$BZIP2_VERSION \
  60. "org.label-schema.applications.unzip.version"=$UNZIP_VERSION \
  61. "org.label-schema.applications.xz.version"=$XZ_VERSION \
  62. "org.label-schema.applications.jq.version"=$JQ_VERSION \
  63. "org.label-schema.applications.wget.version"=$WGET_VERSION \
  64. "org.label-schema.applications.bash.version"=$WGET_VERSION \
  65. "org.label-schema.applications.python2.version"=$PYTHON2_VERSION \
  66. "org.label-schema.applications.iptables.version"=$IPTABLES_VERSION \
  67. "org.label-schema.applications.e2fsprogs.version"=$E2FSPROGS_VERSION \
  68. "org.label-schema.applications.zip.version"=$ZIP_VERSION \
  69. "org.label-schema.applications.groff.version"=$GROFF_VERSION \
  70. "org.label-schema.applications.py2-pip.version"=$PYPIP_VERSION \
  71. "org.label-schema.applications.awscli.version"=$AWSCLI_VERSION \
  72. "org.label-schema.applications.helm.version"=$HELM_VERSION \
  73. "org.label-schema.applications.helm-push.version"=$HELM_PLUGIN_PUSH_VERSION \
  74. "org.label-schema.applications.curl.version"="unkown" \
  75. "org.label-schema.applications.ca-certificates.version"="unkown" \
  76. "org.label-schema.applications.openssl.version"="unkown" \
  77. "org.label-schema.description"="JNLP in a container for k8s" \
  78. "org.label-schema.url"="https://www.jenkins.io" \
  79. "org.label-schema.vcs-url"="https://scm.dazzlingwrench.fxinnovation.com/fxinnovation-public/docker-jenkinsk8sslave" \
  80. "org.label-schema.vendor"="FXinnovation" \
  81. "org.label-schema.schema-version"="1.0.0-rc.1" \
  82. "org.label-schema.vcs-ref"=$VCS_REF \
  83. "org.label-schema.version"=$VERSION \
  84. "org.label-schema.build-date"=$BUILD_DATE \
  85. "org.label-schema.usage"="Should only be used in a k8s environment"