[gbm-web] flat-manager: Split builder image
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbm-web] flat-manager: Split builder image
- Date: Tue, 14 Jul 2020 06:33:51 +0000 (UTC)
commit 5a4706fba124c45b31cda9da61a0cb18a44288e7
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Jul 14 08:33:46 2020 +0200
flat-manager: Split builder image
flat-manager/Dockerfile.builder | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/flat-manager/Dockerfile.builder b/flat-manager/Dockerfile.builder
new file mode 100644
index 0000000..d89f05e
--- /dev/null
+++ b/flat-manager/Dockerfile.builder
@@ -0,0 +1,9 @@
+FROM ubuntu:18.04
+
+RUN apt-get update && apt-get install -y git libpq-dev curl build-essential
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \
+ sh rustup.sh -y -q
+
+RUN git clone https://github.com/flatpak/flat-manager.git && cd flat-manager && \
+ git checkout 0.3.7 && /root/.cargo/bin/cargo fetch
+RUN cd flat-manager && /root/.cargo/bin/cargo build --release
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]