Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #461 from avalluri/go-1.13
Browse files Browse the repository at this point in the history
Go 1.13 + Moving to go modules
  • Loading branch information
pohly authored Nov 15, 2019
2 parents a262994 + 585afab commit 14bbca4
Show file tree
Hide file tree
Showing 230 changed files with 4,292 additions and 146,072 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
! test/test-config.sh
! hack/copy-modules-license.sh
! vendor/**
! go.mod
! go.sum
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG SWUPD_UPDATE_ARG
ARG NDCTL_VERSION="67"
ARG NDCTL_CONFIGFLAGS="--disable-docs --without-systemd --without-bash"
ARG NDCTL_BUILD_DEPS="os-core-dev devpkg-util-linux devpkg-kmod devpkg-json-c"
ARG GO_VERSION="1.12.9"
ARG GO_VERSION="1.13.4"

#pull dependencies required for downloading and building libndctl
ARG CACHEBUST
Expand Down Expand Up @@ -78,11 +78,9 @@ FROM build as binaries

# build pmem-csi-driver
ARG VERSION="unknown"
# Beware that this copying is filtered with .dockerignore!
ADD . /go/src/github.com/intel/pmem-csi
ENV GOPATH=/go
ADD . /src/pmem-csi
ENV PKG_CONFIG_PATH=/usr/lib/pkgconfig/
WORKDIR /go/src/github.com/intel/pmem-csi
WORKDIR /src/pmem-csi
ARG BIN_SUFFIX
# Here we choose explicitly which binaries we want in the image and in
# which flavor (production or testing). The actual binary name in the
Expand Down
Loading

0 comments on commit 14bbca4

Please sign in to comment.