rebase and update for 3.10, avoid adding qemu file to x86 images

master
Aurélien Bondis 5 years ago
parent a8f55aa73a
commit 124b1d4c71

@ -11,7 +11,8 @@ RUN mkdir static \
# Actual application
FROM alpine:3.10
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \
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
RUN apk add --no-cache \
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
RUN apk add --no-cache \
python3 py3-pip git bash \

@ -1,5 +1,6 @@
# 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

@ -1,4 +1,5 @@
FROM alpine:3.10
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \
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
RUN apk add --no-cache \
python3 py3-pip bash \

@ -1,4 +1,5 @@
FROM alpine:3.10
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \
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 \
&& apk add --no-cache radicale@testing curl bash

@ -1,5 +1,6 @@
# First stage: Build
FROM alpine:3.10 as builder
ARG DISTRO=alpine:3.10
FROM $DISTRO as builder
# build dependencies
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 && \
make
FROM alpine:3.10
ARG DISTRO=alpine:3.10
FROM $DISTRO
# python3 shared with most images
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
RUN apk add --no-cache \
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
RUN apk add --no-cache \
python3 py3-pip git bash \

@ -1,16 +1,13 @@
#!/bin/bash -x
ALPINE_VER="3.8"
ALPINE_VER="3.10"
DISTRO="balenalib/rpi-alpine:$ALPINE_VER"
# Used for Radicale
EDGE_DISTRO="balenalib/rpi-alpine:edge"
# Used for webmails
PHP="arm32v7/php:7.2-apache"
PHP="arm32v7/php:7.3-apache"
# use qemu-*-static from docker container
docker run --rm --privileged multiarch/qemu-user-static:register
docker-compose -f build.yml build \
--build-arg DISTRO=$DISTRO \
--build-arg PHP_DISTRO=$PHP \
--build-arg EDGE_DISTRO=$EDGE_DISTRO \
--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
RUN apt-get update && apt-get install -y \
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
RUN apt-get update && apt-get install -y \
python3 curl python3-pip git \

Loading…
Cancel
Save