Skip to content

Commit

Permalink
Merge pull request #237 from jqmichael/fixClientSource
Browse files Browse the repository at this point in the history
Fixed overriding client source
  • Loading branch information
k8s-ci-robot authored Aug 7, 2020
2 parents 41fe8a5 + d2171d5 commit b9d2673
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ COPY go.sum .
RUN go mod download

ADD . .

# Default client source is `k8s` which can be overriden with –build-arg when building the Docker image
ARG client_source=k8s
ENV EFS_CLIENT_SOURCE=$client_source

RUN make aws-efs-csi-driver

FROM amazonlinux:2.0.20200602.0
RUN yum install util-linux-2.30.2-2.amzn2.0.4.x86_64 amazon-efs-utils-1.26-3.amzn2.noarch -y
RUN yum install amazon-efs-utils-1.26-3.amzn2.noarch -y

# At image build time, static files installed by efs-utils in the config directory, i.e. CAs file, need
# to be saved in another place so that the other stateful files created at runtime, i.e. private key for
Expand Down

0 comments on commit b9d2673

Please sign in to comment.