forked from vial-kb/vial-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project change: vial-web now builds a container.
vial-web will now just build a container that will be used by other projects and people, namely vial-gui.
- Loading branch information
Showing
11 changed files
with
59 additions
and
1,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build and Push Container | ||
|
||
on: | ||
push: | ||
branches: [ web ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
tags: ghcr.io/${{ github.repository_owner }}/vial-gui-build:latest | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV TZ=Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update && apt-get install -y python3 build-essential libffi-dev git curl wget zlib1g-dev zip unzip | ||
|
||
RUN apt-get install -y gdb lcov pkg-config \ | ||
libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \ | ||
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \ | ||
lzma lzma-dev tk-dev uuid-dev zlib1g-dev | ||
|
||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 20 && \ | ||
update-alternatives --config python | ||
|
||
COPY . /vial-web | ||
|
||
WORKDIR /vial-web | ||
|
||
RUN git clone https://github.com/svalboard/via-keymap-precompiled.git | ||
|
||
RUN echo 'source "/vial-web/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile | ||
|
||
RUN ./fetch-emsdk.sh | ||
RUN ./fetch-deps.sh | ||
RUN ./build-deps.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.