mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
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:
parent
a8bb712430
commit
ec6babadfb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user