aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
authorBobosila Victor <victor.bobosila@puppet.com>2021-10-04 12:16:24 +0300
committerGitHub <noreply@github.com>2021-10-04 12:16:24 +0300
commitefd4d1b3213336c4f7f4a04fb5075a0ce1682fa6 (patch)
tree3fd2f83f284b673ea19187b395101e1663171cf8 /.devcontainer
parent9a54482d64ef21e8b6b1063845a96b1a72cd8f3c (diff)
parentb2565ef72fd744e31cc3e3836dc5b69e193fa88c (diff)
downloadpuppet-sshkeys_core-efd4d1b3213336c4f7f4a04fb5075a0ce1682fa6.tar.gz
puppet-sshkeys_core-efd4d1b3213336c4f7f4a04fb5075a0ce1682fa6.tar.bz2
Merge pull request #48 from GabrielNagy/MODULES-11197/pdk-update
(MODULES-11197) Update to pdk-templates 2.2.0
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/Dockerfile6
-rw-r--r--.devcontainer/devcontainer.json23
2 files changed, 29 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 0000000..12ed4ff
--- /dev/null
+++ b/.devcontainer/Dockerfile
@@ -0,0 +1,6 @@
+FROM puppet/pdk:latest
+
+# [Optional] Uncomment this section to install additional packages.
+# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
+# && apt-get -y install --no-install-recommends <your-package-list-here>
+
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..f1a55dc
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,23 @@
+// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
+// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
+{
+ "name": "Puppet Development Kit (Community)",
+ "dockerFile": "Dockerfile",
+
+ // Set *default* container specific settings.json values on container create.
+ "settings": {
+ "terminal.integrated.shell.linux": "/bin/bash"
+ },
+
+ // Add the IDs of extensions you want installed when the container is created.
+ "extensions": [
+ "puppet.puppet-vscode",
+ "rebornix.Ruby"
+ ]
+
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
+ // "forwardPorts": [],
+
+ // Use 'postCreateCommand' to run commands after the container is created.
+ // "postCreateCommand": "pdk --version",
+}