-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Trivernis/develop
Version 1.0.1
- Loading branch information
Showing
58 changed files
with
5,909 additions
and
5,433 deletions.
There are no files selected for viewing
File renamed without changes.
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,42 @@ | ||
ARG BASE_IMAGE=docker.io/alpine:latest | ||
|
||
FROM ${BASE_IMAGE} AS base | ||
RUN apk update | ||
RUN apk add --no-cache \ | ||
build-base \ | ||
openssl3-dev \ | ||
gtk+3.0-dev \ | ||
libappindicator-dev \ | ||
patchelf \ | ||
librsvg-dev \ | ||
curl \ | ||
wget \ | ||
clang \ | ||
nodejs \ | ||
npm \ | ||
libsoup-dev \ | ||
webkit2gtk-dev \ | ||
file \ | ||
python3 \ | ||
bash \ | ||
protoc | ||
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
RUN rm -rf /var/lib/{cache,log}/ /var/cache | ||
|
||
FROM base AS sources | ||
WORKDIR /usr/src | ||
COPY mediarepo-api ./mediarepo-api | ||
COPY mediarepo-daemon ./mediarepo-daemon | ||
COPY mediarepo-ui ./mediarepo-ui | ||
COPY scripts ./scripts | ||
RUN python3 scripts/clean.py | ||
RUN python3 scripts/check.py --install | ||
|
||
FROM sources AS build_daemon | ||
WORKDIR /usr/src | ||
RUN python3 scripts/build.py daemon --verbose | ||
|
||
FROM sources AS build_ui | ||
WORKDIR /usr/src | ||
RUN python3 scripts/build.py ui --verbose --bundles deb |
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
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 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 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
Oops, something went wrong.