GithubHelp home page GithubHelp logo

qpc-github / buildpacks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/buildpacks

1.0 1.0 0.0 6.38 MB

Builders and buildpacks designed to run on Google Cloud's container platforms

License: Apache License 2.0

Shell 1.15% JavaScript 1.71% Ruby 0.13% Go 82.43% CMake 0.21% Dockerfile 1.49% Starlark 12.89%

buildpacks's Introduction

Google Cloud's buildpacks

This repository contains a set of builders and buildpacks designed to run on Google Cloud's container platforms: Cloud Run, GKE, Anthos, and Compute Engine running Container-Optimized OS. They are also used as the build system for App Engine and Cloud Functions. They are 100% compatible with Cloud Native Buildpacks.

To start using Google Cloud's buildpacks

Additional tooling

The Google Cloud's buildpacks project provides builder images suitable for use with pack, kpack, tekton, skaffold, and other tools that support the Buildpacks v3 specification.

Additional Configurations

Google Cloud's buildpacks can be configured in a few ways:

App Engine and Cloud Function Builders and Buildpacks

These builders create container images designed to run on Google Cloud's App Engine and Functions services. Most of the buildpacks are identical to those in the general builder.

Compared to the general builder, there are two primary differences. First, there are additional buildpacks which add transformations specific to each service. Second, in order to optimize execution speed, each language has a separate builder.

As an example, in order to build a Docker container image for Google App Engine Java17 runtime you can use:

pack build <app-name>  --builder gcr.io/gae-runtimes/buildpacks/java17/builder

If you rely on a custom App Engine entrypoint in your app.yaml, you can use:

pack build <app-name>  --builder gcr.io/gae-runtimes/buildpacks/java17/builder  --env GOOGLE_ENTRYPOINT="your entry point command"

The application container image can then be executed locally:

docker run --rm -p 8080:8080 <app-name>

Locally, your application might depend on App Engine enviroment variables that would need to be set in the local environment.

Learn more about Cloud Native Buildpacks

This project implements the Cloud Native Buildpacks specification. To read more, see Cloud Native Buildpacks project documentation.

For those new to buildpacks, these concepts are good starting points:

  • Builder A container image that contains buildpacks and detection order in which builds are executed.
  • Buildpack An executable that "inspects your app source code and formulates a plan to build and run your application".
  • Buildpack Group Several buildpacks which together provide support for a specific language or framework.
  • Run Image The container image that serves as the base for the built application.

Support

Google Cloud's buildpacks are only officially supported when used with Google Cloud products. Customers of Google Cloud can use standard support channels for help using buildpacks with Google Cloud Products.

Security

For information on reporting security vulnerabilities, see SECURITY.md.

Get involved with the community

We welcome contributions! Here's how you can contribute:

License

See LICENSE.

buildpacks's People

Contributors

anniefu avatar ashih avatar briandealwis avatar brucearctor avatar coryan avatar dazuma avatar dgageot avatar di avatar eamonnmcmanus avatar grant avatar hazemm96 avatar hdp617 avatar jamesward avatar jihuin avatar jinglundong avatar kennethye1 avatar ludoch avatar lukasberger avatar matthewmichihara avatar matthewrobertson avatar montycarter avatar mtraver avatar paul-feng-github avatar pmaloogoogle avatar rishisharma-google avatar shreejad avatar sl0wik avatar spew avatar squee1945 avatar steren avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.