pkgs: dockerfile: Add go to path.

Make sure we can use docker inside docker image.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2018-06-15 17:39:45 -05:00
parent a8bb712430
commit ec6babadfb

View File

@ -22,3 +22,7 @@ RUN tar -C /usr/local -xzf go${GO_VERSION}.linux-${GO_ARCH}.tar.gz
# Local build dependencies
RUN zypper -n install make gcc yum xz
# Add go compiler to the PATH
ENV PATH /usr/local/go/bin:$PATH
ENV GOPATH /root/go