Skip to content

Instantly share code, notes, and snippets.

View craiglpeters's full-sized avatar

Craig Peters craiglpeters

View GitHub Profile
@craiglpeters
craiglpeters / dev-containers-cloud-native.md
Last active December 12, 2023 13:06
Dev Containers in the Cloud Native Ecosystem

Dev Containers

https://containers.dev an open spec that extends container definition to also include dev environment configuration including:

  • packages
  • lifecycle automation
  • processes
  • IDE configurations
  • remote connection
  • port forwarding
@craiglpeters
craiglpeters / README.md
Last active September 13, 2022 23:32 — forked from crazy4pi314/README.md
qat tutorial/sample use in Codespaces

This is an annotated version of the original

Note: I removed the relative paths from the devcontainer on this branch https://github.com/craiglpeters/qat/tree/devcontainer-opt and now the postCreateCommand runs successfully on codespace startup

Note: I tested pre-builds... testing in progress

Note: Testing postStartCommand to adutomate the build of qat: "postStartCommand": "mkdir Debug ; cd Debug ; cmake .. ; make qat ; ./qir/qat/Apps/qat --apply --profile default -S ../qir/qir-tests/reduction_tests/inlining-input.ll"

  1. Open the qat codespace, and if it errors from being out of memory, locally clone and use remote dev containers to create docker

Note: I used an 8 core Codespace with no problems

Keybase proof

I hereby claim:

  • I am craiglpeters on github.
  • I am craiglpeters (https://keybase.io/craiglpeters) on keybase.
  • I have a public key ASC2AGJZR60wuqaOjp3gPUxdNlZRglDOa1ewg_FRqdueowo

To claim this, I am signing this object: