From: Ernesto Puerta Date: Thu, 16 Jun 2022 20:44:19 +0000 (+0200) Subject: devcontainer: add support for Github CodeSpaces X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fwip-devcontainers-main;p=ceph.git devcontainer: add support for Github CodeSpaces Let's try to improve the developer experience: https://docs.github.com/en/codespaces/getting-started/deep-dive Signed-off-by: Ernesto Puerta --- diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000000..8cf6b07fdc337 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "name": "Ceph Developer Environment", + "image": "quay.io/centos/centos:stream8", + "postCreateCommand": ".devcontainer/postCreate.sh", +} diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh new file mode 100644 index 0000000000000..accdccdcb5d61 --- /dev/null +++ b/.devcontainer/postCreate.sh @@ -0,0 +1,2 @@ +#!/bin/bash +./do_cmake.sh && cd build && ninja