grim/containers/flat-manager-client
Clone
Summary
Browse
Changes
Graph
Initial revision
draft
2020-08-13, Gary Kramlich
82beb3ae577d
Parents
Children
1eeffc791823
Initial revision
2 files changed, 61 insertions(+), 0 deletions(-)
+18
-0
Dockerfile
+43
-0
convey.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Dockerfile Thu Aug 13 04:51:25 2020 -0500
@@ -0,0 +1,18 @@
+FROM debian:buster
+
+RUN set -ex && \
+ apt-get update && \
+ apt-get install -y --no-install-recommends \
+ gir1.2-glib-2.0 gir1.2-ostree-1.0 \
+ python3 python3-aiohttp python3-gi python3-tenacity \
+ wget ca-certificates \
+ && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists
+
+RUN set -ex && \
+ wget -O /usr/local/bin/flat-manager-client "https://raw.githubusercontent.com/flatpak/flat-manager/master/flat-manager-client" && \
+ chmod +x /usr/local/bin/flat-manager-client
+
+ENTRYPOINT ["/usr/local/bin/flat-manager-client"]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/convey.yml Thu Aug 13 04:51:25 2020 -0500
@@ -0,0 +1,43 @@
+environment:
+ - REPO=rwgrim/flat-manager-client
+ - TAG=latest
+ - REGISTRY=docker.io
+ - REGISTRY_USERNAME
+ - REGISTRY_PASSWORD
+
+tasks:
+ import:
+ type: docker/import
+ files: .:.
+
+ build:
+ type: docker/build
+ dockerfile: Dockerfile
+ tag: ${REGISTRY}/${REPO}:${TAG}
+ files: .:.
+
+ login:
+ type: docker/login
+ username: ${REGISTRY_USERNAME}
+ password: ${REGISTRY_PASSWORD}
+ server: ${REGISTRY}
+
+ logout:
+ type: docker/logout
+ server: ${REGISTRY}
+
+ push:
+ type: docker/push
+ images: ${REGISTRY}/${REPO}:${TAG}
+
+plans:
+ default:
+ stages:
+ - tasks: [import, build]
+
+ ci:
+ stages:
+ - tasks: [import, build, login, push]
+ - tasks: [logout]
+ run: always
+