Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 784abe4

Browse files
committed
Fixed plantuml
1 parent 534f247 commit 784abe4

File tree

3 files changed

+7
-54
lines changed

3 files changed

+7
-54
lines changed

containers/plantuml/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See LICENSE in the project root for license information.
44
#-----------------------------------------------------------------------------------------
55

6-
FROM java:11
6+
FROM openjdk:8
77

88
# Install git, process tools
99
RUN apt-get update && apt-get -y install git procps

containers/plantuml/README.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Summary
44

5-
*Use PlantUML without installing all the dependencies locally. Includes Java, GraphViz, and the PlantUML extension.*
5+
*Demonstrates using PlantUML local rendering without installing dependencies. Includes Java, GraphViz, and the PlantUML extension.*
66

77
| Metadata | Value |
88
|----------|-------|
@@ -12,27 +12,13 @@
1212

1313
## Usage
1414

15-
First, install the **[Visual Studio Code Remote Development](https://aka.ms/vscode-remote/download/extension)** extension pack if you have not already.
15+
[See here for information on using this and other definitions in your project](../../README.md#using-a-definition). There are no addtional steps required.
1616

17-
To use the definition with your own project:
17+
### Try it
1818

19-
1. Copy the `.devcontainer` folder into your project root.
20-
2. Reopen the folder in the container (e.g. using the **Remote-Container: Reopen Folder in Container** command in VS Code) to use it unmodified.
21-
22-
If you prefer, you can look through the contents of the `.devcontainer` folder to understand how to make changes to your own project.
23-
24-
If you want to try out the test project instead, run **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of the entire folder.
25-
26-
Check out the samples folder or just do a markdown preview on this file once you've opened this folder in the container!
27-
28-
```plantuml
29-
@startuml
30-
Brain -> Brain: Wait, VS Code can do that?
31-
Brain -> Mouth: Say "Cool!"
32-
Mouth -> Ear: Cool!
33-
Ear -> Brain: Heard myself say Cool!
34-
@enduml
35-
````
19+
1. Run **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of this entire folder.
20+
2. The container will build and VS Code will connect.
21+
3. Open `sample.plantuml` in the `test-project` folder and hit Alt-D.
3622

3723
## License
3824

containers/plantuml/test-project/markdown-sample.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)