Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

creditspring/time_build_pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Heroku libfaketime buildpack

This is a simple Heroku buildpack to inject libfaketime.

The script will simply download the library, compile it and place it inside the /app/vendor/libfaketime directory. It will also set the following variables through profile.d:

FAKETIME_NO_CACHE=1
LD_PRELOAD=/app/vendor/libfaketime/libfaketime.so.1

In order to specify new time, provide FAKETIME variable, i.e.:

FAKETIME=+1d

About

Investigation on how to build a custom Heroku build pack to change system time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages