mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-27 15:13:23 +03:00
7eb9aa75cf
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
13 lines
813 B
Docker
13 lines
813 B
Docker
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/master/containers/ubuntu/.devcontainer/base.Dockerfile
|
|
# [Choice] Ubuntu version (use jammy or bionic on local arm64/Apple Silicon): jammy, focal, bionic
|
|
ARG VARIANT="jammy"
|
|
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
|
|
|
|
# Derived from Tauri contribution and setup guides:
|
|
# See: https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#development-guide
|
|
# See: https://tauri.app/v1/guides/getting-started/prerequisites/#setting-up-linux
|
|
ARG TAURI_BUILD_DEPS="build-essential curl libappindicator3-dev libgtk-3-dev librsvg2-dev libssl-dev libwebkit2gtk-4.1-dev wget"
|
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get install -y --no-install-recommends $TAURI_BUILD_DEPS
|