mirror of
https://github.com/copy/v86.git
synced 2025-12-31 12:33:15 +00:00
* (feat) Docker: Add Support for Running inside Docker Container Uses Alpine image as base to have minimal size. 2-step build process to get rid of source and library files after compilation and during runtime. Uses Python3 HTTP Server to serve static assets. Signed-off-by: Progyan Bhattacharya <bprogyan@gmail.com>
5 lines
222 B
Bash
Executable file
5 lines
222 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
tar -cf - ../../../{*.html,*.js,*.css,gen,lib,src,bios,.cargo,Cargo.toml,Makefile,tools} | \
|
|
docker build -t v86:alpine-3.14 -f tools/docker/exec/Dockerfile -
|