diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..59ab96852129a07066e602dedba138beb1b15ed9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +include: +- project: docker-images/templates + ref: devcontainer_images + file: devcontainer_images.gitlab-ci.yml + +build: + extends: .build_image_job_template + variables: + IMAGE_BASENAME: devcontainer-latex + IMAGE_NAME: ${IMAGE_PREFIX}/${IMAGE_BASENAME}:latest,${IMAGE_PREFIX}/${IMAGE_BASENAME}:1.0 diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000000000000000000000000000000000..7bcba4873cd2f66086b3a2c46e77cfe0319c52c0 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,18 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "docker build", + "command": "docker", + "args": [ + "build", + "-f", + "${file}", + "." + ] + } + ] +} + \ No newline at end of file diff --git a/devcontainer_example.json b/devcontainer_example.json new file mode 100644 index 0000000000000000000000000000000000000000..5a0dc416a8dd00680c541640fa0db3222c614e4a --- /dev/null +++ b/devcontainer_example.json @@ -0,0 +1,14 @@ +{ + "name": "LaTex", + "workspaceFolder": "/workdir", + "workspaceMount": "source=${localWorkspaceFolder},target=/workdir,type=bind,consistency=delegated", + "remoteUser": "vscode", + "image": "andrijoos/devcontainer-latex:latest", + "customizations": { + "vscode": { + "extensions": [ + "James-Yu.latex-workshop" + ] + } + } +}