mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-25 05:30:21 +00:00
WIP - Update devcontainer to use debian bookworm
This commit is contained in:
parent
74cb70590c
commit
a78ee4ffe7
4 changed files with 21 additions and 13 deletions
9
.devcontainer/Dockerfile
Normal file
9
.devcontainer/Dockerfile
Normal file
|
@ -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
|
|
@ -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"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"id": "linux",
|
||||
"version": "0.0.1"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
echo "Update Apt Database"
|
||||
sudo apt-get update
|
||||
|
||||
echo "Install Webkit Dependencies"
|
||||
sudo apt-get -qq install build-essential libwebkit2gtk-4.0-dev libgtk-3-dev libayatana-appindicator3-dev
|
Loading…
Reference in a new issue