-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from linuxserver/pipeline
Pipeline logic and multi arching
- Loading branch information
Showing
8 changed files
with
842 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM lsiobase/alpine.nginx.arm64:3.8 | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-aarch64-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG FRESHRSS_RELEASE | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs" | ||
|
||
RUN \ | ||
echo "**** install runtime packages ****" && \ | ||
apk add --no-cache \ | ||
curl \ | ||
php7-ctype \ | ||
php7-curl \ | ||
php7-dom \ | ||
php7-gmp \ | ||
php7-iconv \ | ||
php7-intl \ | ||
php7-mysqli \ | ||
php7-mysqlnd \ | ||
php7-pdo_mysql \ | ||
php7-pdo_pgsql \ | ||
php7-pdo_sqlite \ | ||
php7-pgsql \ | ||
php7-sqlite3 \ | ||
php7-zip \ | ||
sqlite && \ | ||
echo "**** Tag this image with current version ****" && \ | ||
if [ -z ${FRESHRSS_RELEASE+x} ]; then \ | ||
FRESHRSS_RELEASE=$(curl -sX GET "https://api.github.com/repos/FreshRSS/FreshRSS/releases/latest" \ | ||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \ | ||
fi && \ | ||
echo ${FRESHRSS_RELEASE} > /version.txt | ||
|
||
# copy local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
EXPOSE 80 443 | ||
VOLUME /config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM lsiobase/alpine.nginx.armhf:3.8 | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-arm-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG FRESHRSS_RELEASE | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs" | ||
|
||
RUN \ | ||
echo "**** install runtime packages ****" && \ | ||
apk add --no-cache \ | ||
curl \ | ||
php7-ctype \ | ||
php7-curl \ | ||
php7-dom \ | ||
php7-gmp \ | ||
php7-iconv \ | ||
php7-intl \ | ||
php7-mysqli \ | ||
php7-mysqlnd \ | ||
php7-pdo_mysql \ | ||
php7-pdo_pgsql \ | ||
php7-pdo_sqlite \ | ||
php7-pgsql \ | ||
php7-sqlite3 \ | ||
php7-zip \ | ||
sqlite && \ | ||
echo "**** Tag this image with current version ****" && \ | ||
if [ -z ${FRESHRSS_RELEASE+x} ]; then \ | ||
FRESHRSS_RELEASE=$(curl -sX GET "https://api.github.com/repos/FreshRSS/FreshRSS/releases/latest" \ | ||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \ | ||
fi && \ | ||
echo ${FRESHRSS_RELEASE} > /version.txt | ||
|
||
# copy local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
EXPOSE 80 443 | ||
VOLUME /config |
Oops, something went wrong.