Skip to content

Commit

Permalink
chore: Remove unused binaries in cache-deployer, add curl license (#9400
Browse files Browse the repository at this point in the history
)

* Update Dockerfile

* Update Dockerfile

* add curl license text to third_party/license.txt

* change the location where we store third_party license.txt

* checkout license.txt from upstream master

* add https://github.com/curl/curl/blob/master/COPYING to third_party/license.txt
  • Loading branch information
chensun authored May 12, 2023
1 parent 09c0b92 commit f35d50c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
4 changes: 1 addition & 3 deletions backend/src/cache/deployer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine

RUN apk add --update \
curl \
which \
jq \
bash \
openssl

RUN gcloud components install kubectl
Expand All @@ -18,6 +16,6 @@ RUN chmod +x deploy-cache-service.sh
RUN chmod +x webhook-create-signed-cert.sh
RUN chmod +x webhook-patch-ca-bundle.sh

COPY third_party/license.txt /bin/license.txt
COPY third_party/license.txt /third_party/license.txt

ENTRYPOINT ["/bin/sh", "/kfp/cache/deployer/deploy-cache-service.sh"]
30 changes: 30 additions & 0 deletions third_party/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11630,3 +11630,33 @@ THE SOFTWARE.

--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
vendor github.com curl curl COPYING (vendor/github.com/curl/curl/COPYING)
--------------------------------------------------------------------------------
COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 1996 - 2023, Daniel Stenberg, <[email protected]>, and many
contributors, see the THANKS file.

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright
notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization of the copyright holder.

--------------------------------------------------------------------------------

0 comments on commit f35d50c

Please sign in to comment.