[gbm-web] flat-manager: Simplify main Dockerfile
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbm-web] flat-manager: Simplify main Dockerfile
- Date: Tue, 14 Jul 2020 06:43:56 +0000 (UTC)
commit 64bfe2d0fbc3c35d153d1a08667496e9f5ca3b1c
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Jul 14 08:35:46 2020 +0200
flat-manager: Simplify main Dockerfile
flat-manager/Dockerfile | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/flat-manager/Dockerfile b/flat-manager/Dockerfile
index f8c5030..87ab5cc 100644
--- a/flat-manager/Dockerfile
+++ b/flat-manager/Dockerfile
@@ -1,13 +1,3 @@
-FROM ubuntu:18.04 as build
-
-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
-
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y gnupg2
@@ -16,8 +6,6 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C793BFA2FA577F07 &&
apt-get update && apt-get install -y flatpak ostree libpq5 && \
rm -rf /var/lib/apt/lists/*
-COPY --from=build /flat-manager/target/release/flat-manager /usr/local/bin/flat-manager
ADD heartbeat /heartbeat
-
ENV HOME /srv/gnome-build-meta
EXPOSE 8080
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]