[tracker-oci-images/sam/alpine] Add Alpine Linux image
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-oci-images/sam/alpine] Add Alpine Linux image
- Date: Sun, 16 Feb 2020 22:45:44 +0000 (UTC)
commit 95a263251ed240393287ad0c36fada6d5a65d9d7
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Feb 16 23:41:45 2020 +0100
Add Alpine Linux image
Based on work in https://gitlab.gnome.org/GNOME/tracker/merge_requests/169
.gitlab-ci.yml | 12 ++++++++++++
alpine/alpine-edge | 6 ++++++
alpine/cleanup.sh | 1 +
alpine/prepare.sh | 9 +++++++++
4 files changed, 28 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08606ae..aaebc3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,18 @@ variables:
- export IMAGE=${CI_REGISTRY_IMAGE}/${ARCH}/${DISTRO_NAME}:${DISTRO_VER}
extends: '.base'
+alpine edge:
+ extends: '.distro build'
+ variables:
+ ARCH: "amd64"
+ DISTRO_NAME: "edge"
+ DISTRO_VER: "edge"
+ DOCKERFILE: "alpine/edge"
+ CONTEXT_DIR: "alpine"
+ only:
+ changes:
+ - 'alpine/*'
+
fedora latest:
extends: '.distro build'
variables:
diff --git a/alpine/alpine-edge b/alpine/alpine-edge
new file mode 100644
index 0000000..034a097
--- /dev/null
+++ b/alpine/alpine-edge
@@ -0,0 +1,6 @@
+FROM alpine:edge
+
+COPY prepare.sh cleanup.sh /root/
+
+RUN /bin/sh /root/prepare.sh && \
+ /bin/sh /root/cleanup.sh
diff --git a/alpine/cleanup.sh b/alpine/cleanup.sh
new file mode 100644
index 0000000..1a24852
--- /dev/null
+++ b/alpine/cleanup.sh
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/alpine/prepare.sh b/alpine/prepare.sh
new file mode 100644
index 0000000..55ff826
--- /dev/null
+++ b/alpine/prepare.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo 'https://alpine.global.ssl.fastly.net/alpine/edge/community/' >> /etc/apk/repositories
+apk add -U alpine-sdk bash-completion dbus-dev git glib-dev gobject-introspection-dev \
+ icu-dev json-glib-dev libsoup-dev libxml2-dev meson networkmanager-dev \
+ py3-gobject3 py3-setuptools sqlite-dev vala
+
+addgroup -S tracker
+adduser -D -G tracker -g tracker tracker
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]