diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 548296b..5a9658b 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -12,6 +12,12 @@ ENV THELOUNGE_HOME="/config" \ NPM_CONFIG_LOGLEVEL="info" RUN \ + echo "**** install build packages ****" && \ + apk add --no-cache --virtual=build-dependencies \ + gcc \ + g++ \ + make \ + python-dev && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ curl \ @@ -27,10 +33,13 @@ RUN \ /app && \ cd /app && \ npm install -g \ - thelounge@${THELOUNGE_VERSION} && \ + thelounge@${THELOUNGE_VERSION} \ + sqlite3 && \ echo "**** ensure public true on startup aka no users ****" && \ sed -i "s/public: false,/public: true,/g" /usr/lib/node_modules/thelounge/defaults/config.js && \ echo "**** cleanup ****" && \ + apk del --purge \ + build-dependencies && \ rm -rf \ /root && \ mkdir -p / \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 13377eb..db855d5 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -12,6 +12,12 @@ ENV THELOUNGE_HOME="/config" \ NPM_CONFIG_LOGLEVEL="info" RUN \ + echo "**** install build packages ****" && \ + apk add --no-cache --virtual=build-dependencies \ + gcc \ + g++ \ + make \ + python-dev && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ curl \ @@ -27,10 +33,13 @@ RUN \ /app && \ cd /app && \ npm install -g \ - thelounge@${THELOUNGE_VERSION} && \ + thelounge@${THELOUNGE_VERSION} \ + sqlite3 && \ echo "**** ensure public true on startup aka no users ****" && \ sed -i "s/public: false,/public: true,/g" /usr/lib/node_modules/thelounge/defaults/config.js && \ echo "**** cleanup ****" && \ + apk del --purge \ + build-dependencies && \ rm -rf \ /root && \ mkdir -p / \ diff --git a/README.md b/README.md index 02e28ad..ac81be0 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **15.05.19:** - Update Arm variant images to build sqlite3 module. * **23.03.19:** - Switching to new Base images, shift to arm32v7 tag. * **22.02.19:** - Rebasing to alpine 3.9. * **28.01.19:** - Add pipeline logic and multi arch. diff --git a/readme-vars.yml b/readme-vars.yml index e3a2013..b680494 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -47,6 +47,7 @@ app_setup_block: " # changelog changelogs: + - { date: "15.05.19:", desc: "Update Arm variant images to build sqlite3 module." } - { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." } - { date: "22.02.19:", desc: "Rebasing to alpine 3.9." } - { date: "28.01.19:", desc: "Add pipeline logic and multi arch." } @@ -58,4 +59,4 @@ changelogs: - { date: "14.10.16:", desc: "Bump to pickup 2.10 release." } - { date: "14.10.16:", desc: "Add version layer information." } - { date: "11.09.16:", desc: "Add layer badges to README." } - - { date: "31.08.16:", desc: "Initial Release." } \ No newline at end of file + - { date: "31.08.16:", desc: "Initial Release." }