Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Last active January 11, 2025 23:07
Show Gist options
  • Select an option

  • Save recursivecodes/de91d317c25011161f8785e5fb32a11c to your computer and use it in GitHub Desktop.

Select an option

Save recursivecodes/de91d317c25011161f8785e5fb32a11c to your computer and use it in GitHub Desktop.
# create a TAR (from within the JDK 11 init image repo)
$ tar cf jdk-12ea-init.tar func.init.yaml pom.xml src Dockerfile
# build the init-image
$ docker build -f Dockerfile-init -t jdk-12ea-init .
# move back to your project directory, then run:
$ fn init --init-image jdk-12ea-init atp-demo-fn-1
@ddevadat

Copy link
Copy Markdown

Do you have the snippet for Dockerfile, func.init.yaml & Dockerfile-init

@m0zart89

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment