CINXE.COM

chrismytton/heroku-buildpack-jq - Buildpacks - Heroku Elements

<!DOCTYPE html> <html> <head> <title>chrismytton/heroku-buildpack-jq - Buildpacks - Heroku Elements</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="heroku-buildpack-jq - Buildpack for Heroku"> <link rel="stylesheet" href="/assets/application-856578f47b5cf8b0cfa4c363f9093f0e53d045c20dd7c18d6c110af358952d5e.css" media="all" /> <!-- Google Tag Manager "dataLayer" --> <script type="text/javascript" data-turbolinks-eval="false"> window.dataLayer = dataLayer || []; </script> <!-- End Google Tag Manager "dataLayer" --> <!-- Google Tag Manager --> <script data-turbolinks-eval="false">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-JD26');</script> <!-- End Google Tag Manager --> <script src="/assets/application-721bb355830746c3fb498355fb7870a326a1bdcd40498d1d6bfdb69c736e1b60.js"></script> <meta name="deploys" content="10,026" /> <meta name="element_description" content="Buildpack for Heroku" /> <meta name="element_name" content="heroku-buildpack-jq" /> <meta name="element_type" content="buildpack" /> <meta name="username" content="chrismytton" /> <meta name="forks" content="16" /> <meta name="stars" content="4" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@heroku" /> <meta name="twitter:title" content="Elements Marketplace: heroku-buildpack-jq" /> <meta name="twitter:description" content="Buildpack for Heroku" /> <meta name="twitter:image" content="https://avatars.githubusercontent.com/u/22996?v=4" /> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="xvHNa9tk3bVAwaxd9ZVvWHXlRTbhuUYBL1MiTS2wyfFTF96yOBfgfoXJw88z7jzHoUXylleDccIbwnzinWS_FQ" /> <link rel="shortcut icon" href="https://www.herokucdn.com/favicons/favicon.ico" type="image/x-icon"> <link rel="mask-icon" href="https://www.herokucdn.com/favicons/icon.svg" color="#79589f"> <link rel="apple-touch-icon" href="https://www.herokucdn.com/favicons/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="152x152" href="https://www.herokucdn.com/favicons/apple-touch-icon-152x152.png"> <link rel="apple-touch-icon" sizes="167x167" href="https://www.herokucdn.com/favicons/apple-touch-icon-167x167.png"> <link rel="apple-touch-icon" sizes="180x180" href="https://www.herokucdn.com/favicons/apple-touch-icon-180x180.png"> <link rel="icon" sizes="192x192" href="https://www.herokucdn.com/favicons/android-icon.png"> <meta name="slack-app-id" content="A1QME020P"> <meta name="google-site-verification" content="V8eEvIkb6RQqJca9Wf-o9baurAQMe54VKxd06IeaFeg"> </head> <body > <!-- Google Tag Manager --> <noscript> <iframe src="//www.googletagmanager.com/ns.html?id=GTM-JD26" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- End Google Tag Manager --> <div class="flexbox-content"> <!--googleoff: anchor--> <a class="visuallyhidden skip-link" href="#skip-link">Skip Navigation</a> <!--googleon: anchor--> <header id="header" data-uuid="" role="banner"> <nav id="navigation" role="navigation"> <span class="mobile-nav" aria-hidden="true"> Show nav <span></span> <span class="close-button"></span> <span class="close-button"></span> <span></span> </span> <div class="wrapper-full"> <div id="logo"> <a href="https://www.heroku.com/home">Heroku</a> </div> <div class="nav-wrapper"> <ul class="main-nav"> <li class="has-dropdown"> <a href="https://www.heroku.com/products">Products</a> <ul class="dropdown"> <li class="has-dropdown"><a class="bookends-icon platform" href="https://www.heroku.com/platform">Heroku Platform</a> <ul class="dropdown"> <li class="has-dropdown"><a class="bookends-icon dx" href="https://www.heroku.com/dx">Heroku DX</a> <ul class="dropdown wide"> <li><a class="bookends-icon flow" href="https://www.heroku.com/flow">Heroku Flow</a></li> <li><a class="bookends-icon cd" href="https://www.heroku.com/continuous-delivery">Continuous Delivery</a></li> <li><a class="bookends-icon ci" href="https://www.heroku.com/continuous-integration">Continuous Integration</a></li> </ul> </li> <li><a class="bookends-icon opex" href="https://www.heroku.com/platform/opex">Heroku OpEx</a></li> <li class="has-dropdown"><a class="bookends-icon runtime" href="https://www.heroku.com/platform/runtime">Heroku Runtime</a> <ul class="dropdown"> <li><a class="bookends-icon dyno" href="https://www.heroku.com/dynos">Heroku Dynos</a></li> </ul> </li> </ul> </li> <li class="has-dropdown"> <a class="bookends-icon data" href="https://www.heroku.com/managed-data-services">Heroku Data Services</a> <ul class="dropdown wide"> <li><a class="bookends-icon postgres" href="https://www.heroku.com/postgres">Heroku Postgres</a></li> <li><a class="bookends-icon redis" href="https://www.heroku.com/redis">Heroku Key-Value Store</a></li> <li><a class="bookends-icon kafka" href="https://www.heroku.com/kafka">Apache Kafka on Heroku</a></li> </ul> </li> <li class="has-dropdown"> <a class="bookends-icon enterprise" href="https://www.heroku.com/enterprise">Heroku Enterprise</a> <ul class="dropdown wide"> <li><a class="bookends-icon spaces" href="https://www.heroku.com/private-spaces">Heroku Private Spaces</a></li> <li><a class="bookends-icon connect" href="https://www.heroku.com/connect">Heroku Connect</a></li> <li><a class="bookends-icon shield" href="https://www.heroku.com/shield">Heroku Shield</a></li> </ul> </li> <li><a class="bookends-icon teams" href="https://www.heroku.com/teams">Heroku Teams</a></li> <li class="has-dropdown"> <a class="bookends-icon salesforce-icon" href="https://www.salesforce.com/products/">Salesforce</a> <ul class="dropdown wide"> <li><a class="bookends-icon sales-icon" href="https://www.salesforce.com/products/sales-cloud/overview/">Sales Cloud</a></li> <li><a class="bookends-icon service-icon" href="https://www.salesforce.com/products/service-cloud/overview/">Service Cloud</a></li> <li><a class="bookends-icon marketing-icon" href="https://www.salesforce.com/products/marketing-cloud/overview/">Marketing Cloud</a></li> </ul> </li> </ul> </li> <li class="has-dropdown"> <a href="https://elements.heroku.com">Marketplace</a> <ul class="dropdown"> <li><a class="bookends-icon addons" href="https://elements.heroku.com/addons">Add-ons</a></li> <li><a class="bookends-icon buttons" href="https://elements.heroku.com/buttons">Buttons</a></li> <li><a class="bookends-icon buildpacks" href="https://elements.heroku.com/buildpacks">Buildpacks</a></li> <li><a class="bookends-icon elements" href="https://www.heroku.com/elements">About</a></li> </ul> </li> <li><a id="pricing-head" href="https://www.heroku.com/pricing">Pricing</a></li> <li><a id="doc-head" href="https://devcenter.heroku.com">Documentation</a></li> <li><a href="https://www.heroku.com/support">Support</a></li> <li class="has-dropdown"> <a class="nav-more" href="#">More</a> <div class="dropdown more"> <section class="more-resources"> <span class="more-title">Resources</span> <ul> <li><a href="https://www.heroku.com/what">What is Heroku?</a></li> <li><a href="https://help.heroku.com">Help</a></li> <li><a href="https://www.heroku.com/customers">Customers</a></li> <li><a href="https://www.heroku.com/careers">Careers</a></li> <li><a href="https://www.heroku.com/events">Events</a></li> <li><a href="https://www.heroku.com/podcasts">Podcasts</a></li> <li><a href="https://www.heroku.com/compliance">Compliance Center</a></li> </ul> </section> <section class="more-heroku-is"> <span class="more-title">Heroku is for</span> <ul> <li><a href="https://www.heroku.com/developers">Developers</a></li> <li><a href="https://www.heroku.com/ctos">CTOs</a></li> <li><a href="https://www.heroku.com/team-collaboration">Team Collaboration</a></li> <li><a href="https://www.heroku.com/startups">Startups</a></li> <li><a href="https://www.heroku.com/enterprises">Enterprises</a></li> <li><a href="https://www.heroku.com/agencies">Agencies</a></li> <li><a href="https://www.heroku.com/students">Students</a></li> <li><a href="https://www.heroku.com/solutions">See More</a></li> </ul> </section> <section class="more-languages"> <span class="more-title">Languages</span> <ul> <li><a href="https://www.heroku.com/nodejs">Node.js</a></li> <li><a href="https://www.heroku.com/ruby">Ruby</a></li> <li><a href="https://www.heroku.com/java">Java</a></li> <li><a href="https://www.heroku.com/php">PHP</a></li> <li><a href="https://www.heroku.com/python">Python</a></li> <li><a href="https://www.heroku.com/go">Go</a></li> <li><a href="https://www.heroku.com/java?lang=scala">Scala</a></li> <li><a href="https://www.heroku.com/java?lang=clojure">Clojure</a></li> <li><a href="https://www.heroku.com/languages">See More</a></li> </ul> </section> <section id="more-blog" class="more-blog"> <span class="more-title">Latest News from the Heroku Blog</span> <h3><a class="js-blog-link" href="https://blog.heroku.com">Heroku Blog</a></h3> <p class="js-blog-date"></p> <p class="js-blog-content">Find out what's new with Heroku on our blog.</p> <a class="button btn btn-default btn-sm btn-inline" href="https://blog.heroku.com/news">More news</a> <a class="button btn-inline" href="https://blog.heroku.com">View all blog posts</a> </section> </div> </li> </ul> <ul class="tool-nav"> <li role="search"> <form action="/search/buildpacks" class="site-search" id="site-search" method="get"> <div class="search-input gsc-input"> <label for="search" class="visuallyhidden">Search: </label> <input type="text" spellcheck="false" autocomplete="off" name="q" title="search" placeholder="Search Elements" /> <button type="submit" value="Submit search" class="search-submit" /> </div> </form> </li> <li class="user"> <a rel="nofollow" href="https://id.heroku.com/login">Log in</a> <span>or</span> <a class="sign-up highlight" data-trackable="{&quot;category&quot;:&quot;Sign Up Links&quot;,&quot;action&quot;:&quot;Clicked&quot;,&quot;label&quot;:&quot;www-header&quot;}" href="https://signup.heroku.com">Sign up</a> </li> </ul> </div> </div> </nav> </header> <span id="skip-link"></span> <div id="page-subnav" class="page-subnav is-hidden-tablet"> <nav class="wrapper"> <ul> <li> <a class="addons" href="/addons"> <span class="hk-icon hk-icon-addon"></span>Add-ons </a> </li> <li><a class="buttons" href="/buttons"> <span class="hk-icon hk-icon-deploy"></span>Buttons </a> </li> <li> <a class="buildpacks active" href="/buildpacks"> <span class="hk-icon hk-icon-buildpack"></span>Buildpacks </a> </li> </ul> </nav> </div> <div id="buildpacks" class="affix-container"> <div class="wrapper"> <div class="content-with-sidebar left"> <div class="brand-details"> <div class="brand-logo"><img alt="chrismytton" src="https://avatars.githubusercontent.com/u/22996?size=120" /></div> <h4 class="brand-title text-dark">heroku-buildpack-jq</h4> <p>by <a href="https://github.com/chrismytton" target="_blank">chrismytton</a></p> </div> <section class="markdown"> <p class="github"> <span class="hk-icon hk-icon-github-2"></span>GitHub Readme.md </p> <div class="md"> <div class="markdown-heading"> <h1 class="heading-element">heroku-buildpack-jq</h1> <a class="anchor" href="https://github.com/chrismytton/heroku-buildpack-jq#heroku-buildpack-jq"></a> </div> <div class="markdown-alert markdown-alert-warning"> <p class="markdown-alert-title">Warning</p> <p>JQ is <a href="https://devcenter.heroku.com/changelog-items/2893">now installed</a> in both Heroku's build and run images. As such, this buildpack is no longer required to use JQ on Heroku.</p> </div> <p>Use <a href="https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app">Heroku multi-buildpacks</a>.</p> <p>For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"><pre class="notranslate"><code>$ heroku buildpacks:add --index 1 https://github.com/chrismytton/heroku-buildpack-jq.git $ heroku buildpacks === app-name Buildpack URLs 1. https://github.com/chrismytton/heroku-buildpack-jq.git 2. heroku/python </code></pre></div> <p>Perform a deploy to rebuild with multi-buildpacks.</p> <p>You can confirm <code>jq</code>'s installation by running:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"><pre class="notranslate"><code>$ heroku run which jq /app/vendor/jq/bin/jq </code></pre></div> <p>That confirms it's installed and in the <code>PATH</code>.</p> </div> </section> <section id="buildpack-instructions" class="hidden-xs hidden-sm"> <div class="cli-install"> <div class="category-label"> <h5 class="text-dark">CLI Installation</h5> </div> <div class="terminal"> <div class="dots"> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> </div> <div class="cli"> <input id="cli-text" value="heroku create --buildpack https://github.com/chrismytton/heroku-buildpack-jq.git" readonly /> </div> </div> <p class="meta"> Copy the snippet above into CLI. </p> </div> </section> </div> <div class="sidebar right" id="sidebar"> <section class="is-hidden-mobile"> <a class="btn btn-primary-lightning btn-sm btn-block" href="#buildpack-instructions">CLI Install Details</a> <a class="btn btn-default btn-sm btn-block" href="https://github.com/chrismytton/heroku-buildpack-jq">View on GitHub</a> </section> <div class="list-nav list-nav-sm"> <ul> <li> <span class="hk-icon hk-icon-deploy"></span> Recent Deploys: <span class="stats-value">10,026</span> </li> <li> <span class="hk-icon hk-icon-stars"></span> Stars: <span class="stats-value">4</span> </li> <li> <span class="hk-icon hk-icon-forks"></span> Forks: <span class="stats-value">16</span> </li> </ul> </div> </div> </div> </div> </div> <div class="elements-footer sub-footer"> <div class="wrapper"> <nav> <ul> <li><a href="https://addons-next.heroku.com/provider/home"> <span class="hk-icon hk-icon-control-2"></span>Add-on Provider Admin</a> </li> <li><a href="https://devcenter.heroku.com/articles/becoming-an-add-on-partner" target="_blank"> <span class="hk-icon hk-icon-addon"></span>Become an Add-on Provider</a> </li> </ul> </nav> </div> </div> <footer id="heroku-footer" role="contentinfo"> <div class="wrapper"> <div class="col heroku-footer-links"> <nav class="col"> <h4>Products</h4> <ul> <li><a href="https://www.heroku.com/platform">Heroku Platform</a></li> <li><a href="https://www.heroku.com/managed-data-services">Heroku Data Services</a></li> <li><a href="https://www.heroku.com/postgres">Heroku Postgres</a></li> <li><a href="https://www.heroku.com/redis">Heroku Key-Value Store</a></li> <li><a href="https://www.heroku.com/kafka">Apache Kafka on Heroku</a></li> <li><a href="https://www.heroku.com/enterprise">Heroku Enterprise</a></li> <li><a href="https://www.heroku.com/private-spaces">Heroku Private Spaces</a></li> <li><a href="https://www.heroku.com/connect">Heroku Connect</a></li> <li><a href="https://www.heroku.com/shield">Heroku Shield</a></li> <li><a href="https://www.heroku.com/teams">Heroku Teams</a></li> <li><a href="https://elements.heroku.com/">Elements Marketplace</a></li> <li><a href="https://www.heroku.com/pricing">Pricing</a></li> </ul> </nav> <nav class="col"> <h4>Resources</h4> <ul> <li><a href="https://devcenter.heroku.com/">Documentation</a></li> <li><a href="https://www.heroku.com/compliance">Compliance Center</a></li> <li><a href="https://www.heroku.com/training-and-education">Training & Education</a></li> <li><a href="https://blog.heroku.com/">Blog</a></li> <li><a href="https://devcenter.heroku.com/start">Get Started</a></li> </ul> </nav> <nav class="col"> <h4>About</h4> <ul> <li><a href="https://www.heroku.com/about">About Us</a></li> <li><a href="https://www.heroku.com/what">What is Heroku</a></li> <li><a href="https://www.heroku.com/salesforce">Heroku & Salesforce</a></li> <li><a href="https://www.heroku.com/customers">Our Customers</a></li> <li><a href="https://www.heroku.com/careers">Careers</a></li> <li><a href="https://www.heroku.com/partnering">Partners</a></li> <li><a href="https://www.heroku.com/elements">Elements Marketplace</a></li> </ul> </nav> <nav class="col"> <h4>Support</h4> <ul> <li><a href="https://help.heroku.com/">Help Center</a></li> <li><a href="https://status.heroku.com/">Status</a></li> <li><a href="https://www.heroku.com/contact">Contact Us</a></li> </ul> </nav> </div> <div class="col heroku-footer-social"> <h3 class="hide"><span class="heroku-footer-icon-newsletter"></span>Subscribe to our monthly newsletter</h3> <form class="hide" id="bookends-newsletter" accept-charset="UTF-8" action="https://www.heroku.com/newsletter_signups" method="post"> <input name="utf8" type="hidden" value="✓"> <input type="text" name="website" id="bookends-website" placeholder="do not fill this in" tabindex="-1"> <label for="newsletter_signup[email]">Your email address:</label> <input type="email" name="newsletter_signup[email]" id="newsletter_signup_email" required="required" aria-required="true"> <input type="submit" name="commit" value="Go"> <p id="bookends-newsletter-result" class="hide"></p> </form> <ul class="social-list"> <li class="has-dropdown"> <a class="heroku-footer-icon-rss" href="https://blog.heroku.com/feed" target="_blank" aria-label="Opens in new window"> RSS</a> <div class="dropdown"> <ul> <li><a href="https://blog.heroku.com/feed" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Heroku Blog</a></li> <li><a href="https://blog.heroku.com/news/feed" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Heroku News Blog</a></li> <li><a href="https://blog.heroku.com/engineering/feed" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Heroku Engineering Blog</a></li> <li><a href="https://devcenter.heroku.com/articles/feed" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Dev Center Articles</a></li> <li><a href="https://devcenter.heroku.com/changelog/feed" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Dev Center Changelog</a></li> <li><a href="rss://feeds.feedburner.com/herokustatus" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-rss"></span>Heroku Status</a></li> </ul> </div> </li> <li class="has-dropdown"> <a class="heroku-footer-icon-twitter" href="https://x.com/heroku" target="_blank" aria-label="Opens in new window"> X </a> <div class="dropdown"> <ul> <li><a href="https://x.com/heroku" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-twitter"></span>Heroku</a></li> <li><a href="https://x.com/herokudevcenter" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-twitter"></span>Dev Center Articles</a></li> <li><a href="https://x.com/herokuchangelog" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-twitter"></span>Dev Center Changelog</a></li> <li><a href="https://x.com/herokustatus" target="_blank" aria-label="Opens in new window"><span class="heroku-footer-icon-twitter"></span>Heroku Status</a></li> </ul> </div> </li> <li><a class="heroku-footer-icon-github" href="https://github.com/heroku" target="_blank" aria-label="Opens in new window" title="Heroku's GitHub">GitHub</a></li> <li><a class="heroku-footer-icon-linkedin" href="https://www.linkedin.com/company/heroku" target="_blank" aria-label="Opens in new window" title="Heroku's LinkedIn">LinkedIn</a></li> </ul> </div> </div> <div class="tertiary"> <div class="wrapper"> <div class="col"> <div class="footer-logo" aria-label="Heroku is a Salesforce Company" title="Heroku is a Salesforce Company"></div> </div> <div class="col"> <ul> <li><a href="https://www.heroku.com/home">heroku.com</a></li> <li><a href="https://trailblazer.me/resource/documents/documents/pdf/TermsOfUse_en_US.pdf" rel="nofollow">Terms of Service</a></li> <li><a href="https://www.salesforce.com/company/privacy/" rel="nofollow">Privacy</a></li> <li><a href="https://www.salesforce.com/company/privacy/full_privacy#nav_info" rel="nofollow">Cookies</a></li> <li><a class="optanon-toggle-display" rel="nofollow" href="#">Cookie Preferences</a></li> <li><a class="privacy-terms" rel="nofollow" href="https://www.salesforce.com/form/other/privacy-request/"><span aria-label="Privacy Icon" title="Privacy Icon"></span> Your Privacy Choices</a></li> <li class="copyright"> &copy; 2024 Salesforce.com </li> </ul> </div> </div> </div> </footer> <script type="text/javascript"> $(function() { Kindling.start('buildpacks', 'show'); }); </script> <!-- JavaScript for loading helmet web component --> <script crossorigin type="module" src="https://developer.salesforce.com/shared-components/helmet/import.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10