Skip to content
Snippets Groups Projects
Commit 5cb2857e authored by Phillip Harris's avatar Phillip Harris
Browse files

chore: add Tailwind CSS installation to Dockerfile and update devcontainer configuration

parent 406b3661
No related branches found
No related tags found
No related merge requests found
...@@ -2,3 +2,7 @@ FROM mcr.microsoft.com/devcontainers/go:1-1-bookworm ...@@ -2,3 +2,7 @@ FROM mcr.microsoft.com/devcontainers/go:1-1-bookworm
USER vscode USER vscode
RUN go install github.com/air-verse/air@latest RUN go install github.com/air-verse/air@latest
USER root
RUN wget https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.17/tailwindcss-linux-x64 -O /usr/local/bin/tailwindcss \
&& chmod +x /usr/local/bin/tailwindcss
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
"service": "app", "service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": { "features": {
"ghcr.io/r3dpoint/devcontainer-features/tailwindcss-standalone-cli:1": {},
"ghcr.io/dusansimic/devcontainer-features/templ:0": {}, "ghcr.io/dusansimic/devcontainer-features/templ:0": {},
"ghcr.io/devcontainers-extra/features/fish-apt-get:1": {}, "ghcr.io/devcontainers-extra/features/fish-apt-get:1": {},
"ghcr.io/devcontainers-extra/features/go-task:1": {} "ghcr.io/devcontainers-extra/features/go-task:1": {}
...@@ -35,14 +34,16 @@ ...@@ -35,14 +34,16 @@
}, },
"tailwindCSS.includeLanguages": { "tailwindCSS.includeLanguages": {
"templ": "html" "templ": "html"
} },
"workbench.iconTheme": "material-icon-theme"
}, },
"extensions": [ "extensions": [
"golang.go", "golang.go",
"GitHub.copilot", "GitHub.copilot",
"tamasfe.even-better-toml", "tamasfe.even-better-toml",
"a-h.templ", "a-h.templ",
"bradlc.vscode-tailwindcss" "bradlc.vscode-tailwindcss",
"pkief.material-icon-theme"
] ]
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment