mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
Compare commits
22 Commits
e0e9a96154
...
master
Author | SHA1 | Date | |
---|---|---|---|
28675d7f44 | |||
44797c4354 | |||
9798329c6c | |||
e4c5e91057 | |||
e98984f940 | |||
f08fce28be | |||
5ddc69bf00 | |||
2f2aba2f94 | |||
8c6ed3d881 | |||
46b1a36bae | |||
02bc4e82bf | |||
9bdfe3db5d | |||
ef36a1ec1a | |||
26eb50901d | |||
51319d06e3 | |||
48d16d1b6f | |||
02c0e7e7ae | |||
da99f7e4e9 | |||
64cbc25c27 | |||
2f83b43b23 | |||
7c429a2fc9 | |||
85cb1ed8bd |
110
.gitlab-ci.yml
110
.gitlab-ci.yml
@ -6,6 +6,18 @@ variables:
|
|||||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
|
|
||||||
|
dovecot:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
script:
|
||||||
|
- cd dovecot
|
||||||
|
- make push
|
||||||
|
only:
|
||||||
|
variables:
|
||||||
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
||||||
|
changes:
|
||||||
|
- dovecot/*
|
||||||
|
|
||||||
element:
|
element:
|
||||||
stage: build
|
stage: build
|
||||||
@ -20,31 +32,31 @@ element:
|
|||||||
changes:
|
changes:
|
||||||
- element/*
|
- element/*
|
||||||
|
|
||||||
minio:
|
matrix-webhook:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- cd minio
|
- cd matrix-webhook
|
||||||
- make push
|
- make push
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $CI_COMMIT_REF_PROTECTED == "true"
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
||||||
changes:
|
changes:
|
||||||
- minio/*
|
- matrix-webhook/*
|
||||||
|
|
||||||
dev-watchdog:
|
hugo:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- cd watchdog
|
- cd hugo
|
||||||
- make nopush
|
- make push
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $CI_COMMIT_REF_PROTECTED == "false"
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
||||||
changes:
|
changes:
|
||||||
- watchdog/*
|
- hugo/*
|
||||||
|
|
||||||
watchdog:
|
watchdog:
|
||||||
stage: build
|
stage: build
|
||||||
@ -59,19 +71,6 @@ watchdog:
|
|||||||
changes:
|
changes:
|
||||||
- watchdog/*
|
- watchdog/*
|
||||||
|
|
||||||
dev-unifi:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd unifi
|
|
||||||
- make nopush
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "false"
|
|
||||||
changes:
|
|
||||||
- unifi/*
|
|
||||||
|
|
||||||
unifi:
|
unifi:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
@ -85,19 +84,6 @@ unifi:
|
|||||||
changes:
|
changes:
|
||||||
- unifi/*
|
- unifi/*
|
||||||
|
|
||||||
dev-keycloak:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd keycloak
|
|
||||||
- make nopush
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "false"
|
|
||||||
changes:
|
|
||||||
- keycloak/*
|
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
@ -111,32 +97,6 @@ keycloak:
|
|||||||
changes:
|
changes:
|
||||||
- keycloak/*
|
- keycloak/*
|
||||||
|
|
||||||
dev-restic:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd restic
|
|
||||||
- make nopush
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "false"
|
|
||||||
changes:
|
|
||||||
- restic/*
|
|
||||||
|
|
||||||
restic:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd restic
|
|
||||||
- make push
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "true"
|
|
||||||
changes:
|
|
||||||
- restic/*
|
|
||||||
|
|
||||||
pleroma:
|
pleroma:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
@ -150,19 +110,6 @@ pleroma:
|
|||||||
changes:
|
changes:
|
||||||
- pleroma/*
|
- pleroma/*
|
||||||
|
|
||||||
dendrite:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd dendrite
|
|
||||||
- make push
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "true"
|
|
||||||
changes:
|
|
||||||
- dendrite/*
|
|
||||||
|
|
||||||
roundcubemail:
|
roundcubemail:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
@ -176,19 +123,6 @@ roundcubemail:
|
|||||||
changes:
|
changes:
|
||||||
- roundcubemail/*
|
- roundcubemail/*
|
||||||
|
|
||||||
borg:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
script:
|
|
||||||
- cd borg
|
|
||||||
- make push
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_REF_PROTECTED == "true"
|
|
||||||
changes:
|
|
||||||
- borg/*
|
|
||||||
|
|
||||||
shields:
|
shields:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
@ -230,8 +164,8 @@ synapse:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /root/.docker/cli-plugins
|
mkdir -p /root/.docker/cli-plugins
|
||||||
wget https://github.com/docker/buildx/releases/download/v0.4.2/buildx-v0.4.2.linux-amd64
|
wget https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64
|
||||||
mv buildx-v0.4.2.linux-amd64 /root/.docker/cli-plugins/docker-buildx
|
mv buildx-v0.5.1.linux-amd64 /root/.docker/cli-plugins/docker-buildx
|
||||||
chmod +x /root/.docker/cli-plugins/docker-buildx
|
chmod +x /root/.docker/cli-plugins/docker-buildx
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
FROM debian:buster-20210208-slim as builder
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
|
||||||
ARG TARGETARCH
|
|
||||||
RUN apt update -qq && apt install wget -qqy && rm -rf /var/lib/apt/lists/*
|
|
||||||
ARG VERSION
|
|
||||||
RUN case $TARGETARCH in \
|
|
||||||
arm) \
|
|
||||||
wget https://dl.bintray.com/borg-binary-builder/borg-binaries/borg-${VERSION}-armv6 -O /usr/bin/borg \
|
|
||||||
;; \
|
|
||||||
arm64) \
|
|
||||||
wget https://dl.bintray.com/borg-binary-builder/borg-binaries/borg-${VERSION}-arm64 -O /usr/bin/borg \
|
|
||||||
;; \
|
|
||||||
amd64) \
|
|
||||||
wget https://github.com/borgbackup/borg/releases/download/${VERSION}/borg-linux64 -O /usr/bin/borg \
|
|
||||||
;; \
|
|
||||||
esac && \
|
|
||||||
chmod a+x /usr/bin/borg
|
|
||||||
FROM debian:buster-20210208-slim
|
|
||||||
COPY --from=builder /usr/bin/borg /usr/bin/borg
|
|
@ -1,18 +0,0 @@
|
|||||||
NAMESPACE=alemairebe
|
|
||||||
include version
|
|
||||||
|
|
||||||
IMAGE=borg
|
|
||||||
|
|
||||||
nopush:
|
|
||||||
docker buildx build --platform linux/amd64 --load \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
push:
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
@ -1 +0,0 @@
|
|||||||
VERSION=1.1.15
|
|
@ -1,15 +0,0 @@
|
|||||||
FROM golang:buster as builder
|
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
|
||||||
ARG VERSION
|
|
||||||
WORKDIR /
|
|
||||||
RUN git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git && \
|
|
||||||
cd dendrite && rm -rf .git && ./build.sh
|
|
||||||
|
|
||||||
FROM debian:buster-20210208-slim
|
|
||||||
|
|
||||||
COPY --from=builder /dendrite/bin/ /usr/local/bin/
|
|
||||||
COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/
|
|
||||||
COPY entrypoint.sh /usr/local/bin/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
|
@ -1,21 +0,0 @@
|
|||||||
NAMESPACE=alemairebe
|
|
||||||
include version
|
|
||||||
|
|
||||||
IMAGE=dendrite
|
|
||||||
|
|
||||||
nopush:
|
|
||||||
docker buildx build --platform linux/amd64 --load \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
push:
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 --push \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
git-clone:
|
|
||||||
git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ ! -f /usr/local/etc/dendrite.yaml ]; then
|
|
||||||
cp /usr/local/share/dendrite-config.yaml /usr/local/etc/dendrite.yaml
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f /usr/local/etc/matrix_key.pem ]; then
|
|
||||||
/usr/local/bin/generate-keys --private-key /usr/local/etc/matrix_key.pem
|
|
||||||
fi
|
|
||||||
|
|
||||||
/usr/local/bin/dendrite-monolith-server --config /usr/local/etc/dendrite.yaml
|
|
||||||
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
VERSION=0.3.8
|
|
29
dovecot/Dockerfile
Normal file
29
dovecot/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
ARG DEBIAN_VERSION=20210408
|
||||||
|
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim
|
||||||
|
|
||||||
|
ENV container=docker
|
||||||
|
ENV LC_ALL=C
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get -y update && apt-get -y install \
|
||||||
|
tini \
|
||||||
|
dovecot-core \
|
||||||
|
dovecot-imapd \
|
||||||
|
dovecot-lmtpd \
|
||||||
|
dovecot-ldap \
|
||||||
|
dovecot-managesieved \
|
||||||
|
dovecot-mysql \
|
||||||
|
dovecot-pgsql \
|
||||||
|
dovecot-sqlite \
|
||||||
|
dovecot-pop3d \
|
||||||
|
dovecot-sieve \
|
||||||
|
dovecot-solr \
|
||||||
|
dovecot-submissiond \
|
||||||
|
ca-certificates \
|
||||||
|
ssl-cert \
|
||||||
|
&& rm -rf /etc/dovecot \
|
||||||
|
&& mkdir /srv/mail && chown dovecot:dovecot /srv/mail \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
VOLUME [/etc/dovecot /srv/mail /var/mail]
|
||||||
|
ENTRYPOINT ["/sbin/tini" "--"]
|
||||||
|
CMD ["/usr/sbin/dovecot" "-F"]
|
17
dovecot/Makefile
Normal file
17
dovecot/Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
NAMESPACE=alemairebe
|
||||||
|
VERSION=2.3.13
|
||||||
|
IMAGE=dovecot
|
||||||
|
|
||||||
|
push:
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
||||||
|
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
|
||||||
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||||
|
-f Dockerfile .
|
||||||
|
|
||||||
|
dev:
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm \
|
||||||
|
--output type=tar,dest=synapse.tar \
|
||||||
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||||
|
-f Dockerfile ${IMAGE}-${VERSION}
|
@ -1,6 +1,6 @@
|
|||||||
NAMESPACE=alemairebe
|
NAMESPACE=alemairebe
|
||||||
IMAGE=element
|
IMAGE=element
|
||||||
VERSION=v1.7.26
|
VERSION=v1.7.28
|
||||||
|
|
||||||
push: get decompress build
|
push: get decompress build
|
||||||
|
|
||||||
|
4
hugo/Dockerfile
Normal file
4
hugo/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
ARG ALPINE_VERSION=3.13.5
|
||||||
|
|
||||||
|
FROM docker.io/alpine:${ALPINE_VERSION}
|
||||||
|
RUN apk add --no-cache hugo rsync openssh-client
|
14
hugo/Makefile
Normal file
14
hugo/Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
NAMESPACE=alemairebe
|
||||||
|
IMAGE=hugo
|
||||||
|
VERSION=0.83.1
|
||||||
|
|
||||||
|
push: build
|
||||||
|
|
||||||
|
|
||||||
|
build:
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
||||||
|
--build-arg HUGO_VERSION=${VERSION} \
|
||||||
|
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||||
|
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
49
hugo/hugo.sh
Normal file
49
hugo/hugo.sh
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This file is triggered inside the _base/Dockerfile-base file.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
# Variables
|
||||||
|
# HUGO_VERSION is edited in Dockerfile.
|
||||||
|
|
||||||
|
# Architecture
|
||||||
|
TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
|
||||||
|
|
||||||
|
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then
|
||||||
|
HUGO_ARCH="64bit"
|
||||||
|
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then
|
||||||
|
HUGO_ARCH="ARM64"
|
||||||
|
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then
|
||||||
|
HUGO_ARCH="ARM"
|
||||||
|
else
|
||||||
|
echo "Unknown build architecture: $TARGETPLATFORM"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Download binaries from release
|
||||||
|
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz
|
||||||
|
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt
|
||||||
|
|
||||||
|
# Verify checksums
|
||||||
|
grep hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz hugo_${HUGO_VERSION}_checksums.txt | sha256sum -c
|
||||||
|
|
||||||
|
# Prepare folders
|
||||||
|
mkdir -p /usr/local/bin/
|
||||||
|
|
||||||
|
# Unpack downloaded content
|
||||||
|
tar -zxf hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz -C /usr/local/bin
|
||||||
|
|
||||||
|
# Verify executable
|
||||||
|
/usr/local/bin/hugo version
|
||||||
|
|
||||||
|
# Create autocompletion script
|
||||||
|
mkdir -p /etc/bash_completion.d
|
||||||
|
/usr/local/bin/hugo gen autocomplete > /etc/bash_completion.d/hugo.sh
|
||||||
|
|
||||||
|
# Create version file
|
||||||
|
echo -n "${HUGO_VERSION}" > /etc/hugo-release
|
||||||
|
|
||||||
|
# Remove binaries
|
||||||
|
rm hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz hugo_${HUGO_VERSION}_checksums.txt
|
@ -1,4 +1,4 @@
|
|||||||
FROM debian:buster-20210208-slim
|
FROM debian:buster-20210408-slim
|
||||||
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem
|
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem
|
||||||
ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem
|
ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
VERSION=12.0.4
|
VERSION=13.0.0
|
||||||
|
25
matrix-webhook/Dockerfile
Normal file
25
matrix-webhook/Dockerfile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
FROM node:10-alpine
|
||||||
|
|
||||||
|
COPY . /
|
||||||
|
WORKDIR /
|
||||||
|
ENV NODE_ENV=development
|
||||||
|
|
||||||
|
RUN npm install -g npm-check-updates
|
||||||
|
RUN ncu -u matrix-appservice-bridge
|
||||||
|
RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2unix \
|
||||||
|
&& apk add --no-cache ca-certificates \
|
||||||
|
&& dos2unix docker-start.sh \
|
||||||
|
&& chmod +x docker-start.sh \
|
||||||
|
&& npm install \
|
||||||
|
&& apk del build-deps
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
|
||||||
|
ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
|
||||||
|
ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json
|
||||||
|
ENV WEBHOOKS_ENV=docker
|
||||||
|
|
||||||
|
CMD /docker-start.sh
|
||||||
|
|
||||||
|
EXPOSE 9000
|
||||||
|
VOLUME ["/data"]
|
20
matrix-webhook/Makefile
Normal file
20
matrix-webhook/Makefile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
NAMESPACE=alemairebe
|
||||||
|
VERSION=0.0.3
|
||||||
|
|
||||||
|
IMAGE=matrix-webhook
|
||||||
|
|
||||||
|
push: get decompress build
|
||||||
|
|
||||||
|
get:
|
||||||
|
wget https://github.com/turt2live/matrix-appservice-webhooks/archive/refs/heads/master.zip
|
||||||
|
|
||||||
|
decompress:
|
||||||
|
unzip master.zip
|
||||||
|
|
||||||
|
build:
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64 --push \
|
||||||
|
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
||||||
|
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
||||||
|
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
|
||||||
|
-f Dockerfile matrix-appservice-webhooks-master
|
@ -1,40 +0,0 @@
|
|||||||
FROM golang:1.15-alpine as builder
|
|
||||||
|
|
||||||
LABEL maintainer="MinIO Inc <dev@min.io>"
|
|
||||||
ARG VERSION
|
|
||||||
ARG TARGETARCH
|
|
||||||
ENV VERSION $VERSION
|
|
||||||
ENV GOPATH /go
|
|
||||||
ENV CGO_ENABLED 0
|
|
||||||
ENV GO111MODULE on
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk add --no-cache git && \
|
|
||||||
git clone -b ${VERSION} --depth 1 https://github.com/minio/minio && cd minio && \
|
|
||||||
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)"
|
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.13.0
|
|
||||||
|
|
||||||
ENV MINIO_ACCESS_KEY_FILE=access_key \
|
|
||||||
MINIO_SECRET_KEY_FILE=secret_key \
|
|
||||||
MINIO_KMS_MASTER_KEY_FILE=kms_master_key \
|
|
||||||
MINIO_SSE_MASTER_KEY_FILE=sse_master_key \
|
|
||||||
MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav"
|
|
||||||
|
|
||||||
EXPOSE 9000
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \
|
|
||||||
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf
|
|
||||||
|
|
||||||
ARG VERSION
|
|
||||||
ENV VERSION $VERSION
|
|
||||||
COPY --from=builder /go/bin/minio /usr/bin/minio
|
|
||||||
COPY --from=builder /go/minio/dockerscripts/docker-entrypoint.sh /usr/bin/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
|
|
||||||
|
|
||||||
VOLUME ["/data"]
|
|
||||||
|
|
||||||
CMD ["minio"]
|
|
@ -1,19 +0,0 @@
|
|||||||
NAMESPACE=alemairebe
|
|
||||||
include version
|
|
||||||
|
|
||||||
IMAGE=minio
|
|
||||||
|
|
||||||
nopush:
|
|
||||||
docker buildx build --platform linux/amd64 --load \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
push:
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
VERSION=RELEASE.2021-02-07T01-31-02Z
|
|
@ -1,7 +0,0 @@
|
|||||||
FROM alpine:3.13.0
|
|
||||||
ARG VERSION
|
|
||||||
ARG TARGETARCH
|
|
||||||
ENV VERSION $VERSION
|
|
||||||
ADD https://github.com/restic/restic/releases/download/v${VERSION}/restic_${VERSION}_linux_${TARGETARCH}.bz2 /root/restic.bz2
|
|
||||||
RUN bunzip2 /root/restic.bz2 && chmod +x /root/restic && mv /root/restic /usr/bin/restic
|
|
||||||
ENTRYPOINT ["/usr/bin/restic"]
|
|
@ -1,18 +0,0 @@
|
|||||||
NAMESPACE=alemairebe
|
|
||||||
include version
|
|
||||||
|
|
||||||
IMAGE=restic
|
|
||||||
|
|
||||||
nopush:
|
|
||||||
docker buildx build --platform linux/amd64 --load \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
push:
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
@ -1 +0,0 @@
|
|||||||
VERSION=0.11.0
|
|
@ -1,4 +1,4 @@
|
|||||||
FROM debian:buster-20210208-slim
|
FROM debian:buster-20210408-slim
|
||||||
ENV APACHE_CONFDIR /etc/apache2
|
ENV APACHE_CONFDIR /etc/apache2
|
||||||
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
|
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
NAMESPACE=alemairebe
|
NAMESPACE=alemairebe
|
||||||
VERSION=1.32.2
|
VERSION=1.36.0
|
||||||
IMAGE=synapse
|
IMAGE=synapse
|
||||||
|
|
||||||
push: get decompress build
|
push: get decompress build
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:focal-20210119
|
FROM ubuntu:focal-20210416
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
COPY entrypoint.sh /docker-entrypoint.sh
|
COPY entrypoint.sh /docker-entrypoint.sh
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
VERSION=6.2.23
|
VERSION=6.2.26
|
||||||
UNIFI_VERSION=6.2.23-d3a253013f
|
UNIFI_VERSION=6.2.26-a79cb15f05
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
FROM debian:buster-20210111-slim
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
|
||||||
ARG VERSION
|
|
||||||
RUN apt update -qq && \
|
|
||||||
apt install -qqy --no-install-recommends watchdog=$VERSION && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/watchdog", "-F"]
|
|
@ -1,19 +0,0 @@
|
|||||||
NAMESPACE=alemairebe
|
|
||||||
include version
|
|
||||||
|
|
||||||
IMAGE=watchdog
|
|
||||||
|
|
||||||
nopush:
|
|
||||||
docker buildx build --platform linux/amd64 --load \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
||||||
push:
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
|
|
||||||
--build-arg VERSION=$(VERSION) \
|
|
||||||
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
|
|
||||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
|
|
||||||
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
VERSION=5.15-2
|
|
Reference in New Issue
Block a user