Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What OS does heroku cedar run?

Tags:

heroku

I had though cedar was running on Ubuntu 10.04, but when checking it seems this is not the case:

heroku run python
from platform import platform
platform()
'Linux-3.8.11-ec2-x86_64-with-debian-squeeze-sid'

A binary I previously compiled on 10.04 and ran happily on heroku is now segfaulting, so I'd like to work out what stack to compile against.

like image 290
bjw Avatar asked Oct 30 '13 14:10

bjw


People also ask

What is the OS of Heroku?

The final component needed to run an application is the operating system. On Heroku, this is called the "stack"—an operating system image curated and maintained by Heroku. The stack is based on Ubuntu, the open source Linux distribution.

Does Heroku use Ubuntu?

Heroku-20 is based on Ubuntu 20.04. It will be supported through April 2025. Learn more about Heroku's stack update policy.

What is Heroku cedar?

Cedar features a streamlined HTTP stack allowing for advanced HTTP capabilities, heroku run for execution of arbitrary one-off dynos, Procfile and the process model for execution of any type of worker process.

Is Heroku end of life?

As of June 1st, 2021, the building of Heroku-16 apps is no longer supported. Apps using the Heroku-16 stack will continue to run, but should be upgraded to a more recent stack to maintain access to security updates, technical support, and the ability to deploy new code.


2 Answers

It's Ubuntu 10.04, here's the output from heroku run bash

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04 LTS
Release:    10.04
Codename:   lucid
like image 50
John Beynon Avatar answered Oct 12 '22 01:10

John Beynon


Based on their documentation, it is running Ubuntu 10.04

like image 40
Andy Avatar answered Oct 12 '22 02:10

Andy