Skip to content

Commit

Permalink
Add base image
Browse files Browse the repository at this point in the history
  • Loading branch information
wongsingfo committed Oct 30, 2023
1 parent c22962d commit d43ba1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Docker Image
on:
push:
paths:
- 'Dockerfile'
- '**Dockerfile'
- 'stow-dotfiles/**'
- '.github/**'
schedule:
Expand Down Expand Up @@ -31,3 +31,4 @@ jobs:
wongsingfo/dotfiles:amd64
# platforms: linux/amd64,linux/arm64
platforms: linux/amd64
file: ./base.Dockerfile
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you need to re-enter the container, execute the following:
docker start -i --detach-keys='ctrl-z,e' box
```

## Troubleshhot
## Troubleshooting

### Permission Issues

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile → base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ RUN curl -L https://github.com/neovim/neovim/releases/download/stable/nvim-linux

# The "sleep *" is a workaround for https://github.com/nvim-treesitter/nvim-treesitter/issues/2900
RUN nvim --headless +"Lazy restore" +"TSUpdateSync" +"MasonUpdate" \
+"MasonInstall pyright" +"MasonInstall clangd" +"MasonInstall typescript-language-server" \
+"MasonInstall pyright" +"MasonInstall clangd" \
+"sleep 20" +qall

0 comments on commit d43ba1c

Please sign in to comment.