Coder Social home page Coder Social logo

googlecloudplatform / buildpack-samples Goto Github PK

View Code? Open in Web Editor NEW
83.0 22.0 68.0 529 KB

License: Apache License 2.0

Go 11.12% Java 23.36% Python 2.16% JavaScript 4.53% C# 18.89% TypeScript 1.13% CMake 7.47% C++ 13.57% Ruby 3.20% Procfile 1.22% PHP 13.37%

buildpack-samples's Introduction

Buildpack Samples

Name Language Build Tool Deploy
sample-dotnet C# .NET SDK Run on Google Cloud
sample-go Go Go Modules Run on Google Cloud
sample-java-gradle Java Gradle Run on Google Cloud
sample-java-mvn Java Maven Run on Google Cloud
sample-java-springboot-gradle Java + Spring Boot Gradle Run on Google Cloud
sample-node JavaScript (Node.js) npm Run on Google Cloud
sample-node-yarn JavaScript (Node.js) yarn Run on Google Cloud
sample-node-tsc TypeScript (Node.js) npm Run on Google Cloud
sample-node-pnpm Javascript (Node.js) pnpm Run on Google Cloud
sample-php PHP PHP Run on Google Cloud
sample-php-entrypoint-envvar PHP PHP Run on Google Cloud
sample-php-entrypoint-procfile PHP PHP Run on Google Cloud
sample-python Python pip Run on Google Cloud
sample-ruby Ruby bundler Run on Google Cloud
sample-functions-framework-node JavaScript (Node.js) Functions Framework npm Run on Google Cloud
sample-functions-framework-python Python Functions Framework pip Run on Google Cloud
sample-functions-framework-go Go Functions Framework Go Modules Run on Google Cloud
sample-functions-framework-java-mvn Java Functions Framework Maven Run on Google Cloud
sample-functions-framework-cpp C++ Functions Framework CMake + vcpkg Run on Google Cloud
sample-functions-framework-ruby Ruby Functions Framework Bundler Run on Google Cloud

buildpack-samples's People

Contributors

abbycar avatar asriniva avatar coryan avatar dependabot[bot] avatar dgageot avatar dysbulic avatar hdp617 avatar jama22 avatar jamesward avatar matthewrobertson avatar mattmoor avatar picardparis avatar pmaloogoogle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildpack-samples's Issues

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

Artifacts Found

  • sample-functions-framework-java-mvn/.mvn/wrapper/maven-wrapper.jar
  • sample-java-mvn/.mvn/wrapper/maven-wrapper.jar

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar

This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Error while building the dotnet sample app

I ran following command on sample-dotnet folder
pack build dotnet-app-1 --builder gcr.io/buildpacks/builder:v1

But the build fails with

===> ANALYZING
Timer: Analyzer started at 2023-12-21T11:16:11Z
Image with name "dotnet-app-1" not found
Timer: Analyzer ran for 1.572875ms and ended at 2023-12-21T11:16:11Z
===> DETECTING
Timer: Detector started at 2023-12-21T11:16:11Z
4 of 6 buildpacks participating
google.dotnet.sdk        0.9.1
google.dotnet.publish    0.9.0
google.dotnet.runtime    0.9.1
google.utils.label-image 0.0.2
Timer: Detector ran for 364.296292ms and ended at 2023-12-21T11:16:11Z
===> RESTORING
Timer: Restorer started at 2023-12-21T11:16:11Z
Timer: Restorer ran for 1.815208ms and ended at 2023-12-21T11:16:11Z
===> BUILDING
Timer: Builder started at 2023-12-21T11:16:11Z
=== .NET - Sdk ([email protected]) ===
Looking for global.json in /workspace
Using latest stable .NET Core SDK version
2023/12/21 11:16:11 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/dotnetsdk/version.json
***** CACHE MISS: "dotnetsdk"
Installing .NET SDK v8.0.100.
2023/12/21 11:16:12 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/dotnetsdk/dotnetsdk-8.0.100.tar.gz
=== .NET - Publish ([email protected]) ===
Installing application dependencies.
***** CACHE MISS: "packages"
***** CACHE MISS: "prod dependencies"
--------------------------------------------------------------------------------
Running "dotnet restore --packages /layers/google.dotnet.publish/packages ./helloworld.csproj (DOTNET_CLI_TELEMETRY_OPTOUT=true)"

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Done "dotnet restore --packages /layers/google.dotnet.publish/pack..." (6.59926817s)
--------------------------------------------------------------------------------
failed to build: (error ID: ce40b84e):
Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sorry your project couldn't be built.
Our documentation explains ways to configure Buildpacks to better recognise your project:
 -> https://cloud.google.com/docs/buildpacks/overview
If you think you've found an issue, please report it:
 -> https://github.com/GoogleCloudPlatform/buildpacks/issues/new
--------------------------------------------------------------------------------
Timer: Builder ran for 42.311480812s and ended at 2023-12-21T11:16:54Z
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

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.