Skip to content

Commit

Permalink
WIP - Update devcontainer to use debian bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenandary committed May 1, 2023
1 parent 74cb705 commit a78ee4f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): buster, bullseye
ARG VARIANT="slim-bookworm"
FROM rust:${VARIANT}
ENV DEBIAN_FRONTEND noninteractive
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive

RUN apt-get -qq install build-essential libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev
15 changes: 12 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"name": "dioxus",
"image": "mcr.microsoft.com/devcontainers/rust:latest",
"remoteUser": "vscode",
"build": {
"dockerfile": "./Dockerfile",
"context": "."
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"./local-features/linux": {}
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"uid": "1000",
"gid": "1000",
"upgradePackages": "true"
}
},
"containerEnv": {
"RUST_LOG": "INFO"
Expand Down
4 changes: 0 additions & 4 deletions .devcontainer/local-features/linux/devcontainer-feature.json

This file was deleted.

6 changes: 0 additions & 6 deletions .devcontainer/local-features/linux/install.sh

This file was deleted.

0 comments on commit a78ee4f

Please sign in to comment.