Skip to content

Fix kubectl container ENV

Jason Plum requested to merge charts-gitlab-1306-fix-kubectl-container into master

kubectl/Dockerfile was bitten by the interaction of FROM & ARG

  • Redeclare ARG after the FROM, so that it is accessible.
  • Add ENV with the value of ARG for visibility in docker inspect

Reference: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact

Signed-off-by: Jason Plum jplum@gitlab.com

Closes https://gitlab.com/charts/gitlab/issues/1306

Edited by Jason Plum

Merge request reports

Loading