<commit_before>---
layout: post
title:  "Using Your Heroku Buildpacks with the Pack CLI"
date:   2020-05-18 09:12:24
---

You can't teach an old dog new tricks, but you can wrap it in an API compatibility layer. In this post, you'll learn how to use older versions of Heroku Buildpacks with the [Pack CLI](https://buildpacks.io/docs/install-pack/) by wrapping them in a Cloud Native Buildpack shim using a URL in the form:
<commit_msg>reword<commit_after>---
layout: post
title:  "Using Your Heroku Buildpacks with the Pack CLI"
date:   2020-05-18 09:12:24
---

You can't teach an old dog new tricks, but you can wrap it in an API compatibility layer. In this post, you'll learn how to use older versions of Heroku Buildpacks with the [Pack CLI](https://buildpacks.io/docs/install-pack/) by wrapping them in a Cloud Native Buildpack shim that's as easy as:

{'fraction_non_alphanumeric': 0.08518086347724621, 'fraction_numerical': 0.03267211201866978, 'mean_word_length': 4.017543859649122, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3307293', 'n_tokens_mistral': 282, 'n_tokens_neox': 252, 'n_words': 128}