Git Product home page Git Product logo

electron-docker's Introduction

electron-docker-starter

Electron in Docker Starter for multiple platforms

This provides examples for how to run Electron in Docker (via electron-builder & Vue, using vue-cli-electron-builder).

Included are example scripts for building/running containers for Linux (tested Ubuntu) (linux/amd64) and Intel Macs, as well as the Mac M1 (Apple Silicon, linux/amd64).

This is really just a jumping off point to get an idea of how to iron out some of the Electron-Docker idiosyncrasies (x11-forwarding, not-straightforward Electron dependencies, etc.).

Included Platforms

Target OS Architecture Run Flag
Linux linux/amd64 --linux-amd
macOS (M1) linux/arm64 --macos-arm
macOS (Intel) linux/amd64 --macos-amd

Build & Run

To build container images, run the following with the appropriate command based on the above table.

cd view

./docker/start.sh <flag>

Publish to Github

  1. Set GH_TOKEN in .env

  2. Update version number in package.json (vX.Y.Z)

  3. source ./release.sh

Check for Updates

electron-docker's People

Contributors

anmilleriii avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.