Remove juju binary from LCM image 95/10795/3
authorDavid Garcia <david.garcia@canonical.com>
Thu, 13 May 2021 11:27:27 +0000 (13:27 +0200)
committerbeierlm <mark.beierl@canonical.com>
Fri, 14 May 2021 12:45:02 +0000 (14:45 +0200)
This binary is not needed anymore, since the centralized VCA feature was
introduced

Change-Id: I9590eee2286738e9768147a779525dcfaec4bed1
Signed-off-by: David Garcia <david.garcia@canonical.com>
docker/LCM/Dockerfile

index 20688ef..8215fd9 100644 (file)
@@ -46,10 +46,6 @@ RUN curl https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz --output helm-v3.3.4
     && mv linux-amd64/helm /usr/local/bin/helm3 \
     && rm -r linux-amd64/
 
-RUN curl -L https://launchpad.net/juju/2.7/2.7.6/+download/juju-2.7.6-k8s.tar.xz --output juju-2.7.6-k8s.tar.xz \
-    && tar -xvf juju-2.7.6-k8s.tar.xz \
-    && mv juju /usr/local/bin/juju
-
 
 ARG PYTHON3_OSM_COMMON_URL
 ARG PYTHON3_OSM_LCM_URL
@@ -83,7 +79,6 @@ COPY --from=INSTALL /usr/local/lib/python3.6/dist-packages  /usr/local/lib/pytho
 COPY --from=INSTALL /usr/bin/kubectl /usr/bin/kubectl
 COPY --from=INSTALL /usr/local/bin/helm /usr/local/bin/helm
 COPY --from=INSTALL /usr/local/bin/helm3 /usr/local/bin/helm3
-COPY --from=INSTALL /usr/local/bin/juju /usr/local/bin/juju
 COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
 COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
 COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh