mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-26 03:52:50 +02:00
rebase and update for 3.10, avoid adding qemu file to x86 images
This commit is contained in:
parent
a8f55aa73a
commit
124b1d4c71
@ -11,7 +11,8 @@ RUN mkdir static \
|
|||||||
|
|
||||||
|
|
||||||
# Actual application
|
# Actual application
|
||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# This is an idle image to dynamically replace any component if disabled.
|
# This is an idle image to dynamically replace any component if disabled.
|
||||||
|
|
||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
|
|
||||||
CMD sleep 1000000d
|
CMD sleep 1000000d
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip bash \
|
python3 py3-pip bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip bash \
|
python3 py3-pip bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& apk add --no-cache radicale@testing curl bash
|
&& apk add --no-cache radicale@testing curl bash
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# First stage: Build
|
# First stage: Build
|
||||||
FROM alpine:3.10 as builder
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO as builder
|
||||||
|
|
||||||
# build dependencies
|
# build dependencies
|
||||||
RUN apk add --no-cache curl tar xz autoconf git gettext build-base openssl openssl-dev
|
RUN apk add --no-cache curl tar xz autoconf git gettext build-base openssl openssl-dev
|
||||||
@ -10,7 +11,8 @@ RUN cd fetchmail-7.0.0-alpha6 && \
|
|||||||
./configure --with-ssl --prefix /usr/local --disable-nls && \
|
./configure --with-ssl --prefix /usr/local --disable-nls && \
|
||||||
make
|
make
|
||||||
|
|
||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
|
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.10
|
ARG DISTRO=alpine:3.10
|
||||||
|
FROM $DISTRO
|
||||||
# python3 shared with most images
|
# python3 shared with most images
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
python3 py3-pip git bash \
|
python3 py3-pip git bash \
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
ALPINE_VER="3.8"
|
ALPINE_VER="3.10"
|
||||||
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
|
||||||
# Used for Radicale
|
|
||||||
EDGE_DISTRO="balenalib/rpi-alpine:edge"
|
|
||||||
# Used for webmails
|
# Used for webmails
|
||||||
PHP="arm32v7/php:7.2-apache"
|
PHP="arm32v7/php:7.3-apache"
|
||||||
|
|
||||||
# use qemu-*-static from docker container
|
# use qemu-*-static from docker container
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register
|
docker run --rm --privileged multiarch/qemu-user-static:register
|
||||||
docker-compose -f build.yml build \
|
docker-compose -f build.yml build \
|
||||||
--build-arg DISTRO=$DISTRO \
|
--build-arg DISTRO=$DISTRO \
|
||||||
--build-arg PHP_DISTRO=$PHP \
|
--build-arg PHP_DISTRO=$PHP \
|
||||||
--build-arg EDGE_DISTRO=$EDGE_DISTRO \
|
|
||||||
--parallel $@
|
--parallel $@
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM php:7.3-apache
|
ARG PHP_DISTRO=php:7.3-apache
|
||||||
|
FROM $PHP_DISTRO
|
||||||
#Shared layer between rainloop and roundcube
|
#Shared layer between rainloop and roundcube
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
python3 curl python3-pip git \
|
python3 curl python3-pip git \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM php:7.3-apache
|
ARG PHP_DISTRO=php:7.3-apache
|
||||||
|
FROM PHP_DISTRO
|
||||||
#Shared layer between rainloop and roundcube
|
#Shared layer between rainloop and roundcube
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
python3 curl python3-pip git \
|
python3 curl python3-pip git \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user