Skip to content

Commit

Permalink
🐳 Add devcontainer.json for Github Codespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tgotwig committed Nov 29, 2023
1 parent 0e03e39 commit 23e0fd0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM rust:latest

# Install ffmpeg
RUN apt-get update && apt-get install -y ffmpeg

# Install yt-dlp
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp

# Install go-task
RUN curl -L https://github.com/go-task/task/releases/download/v3.9.0/task_linux_amd64.tar.gz | tar xz && mv task /usr/local/bin
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": ["rust-lang.rust"]
}
}
}

0 comments on commit 23e0fd0

Please sign in to comment.