Created
May 16, 2022 13:07
-
-
Save toninog/32a66bfc9cf810316e5270ece9e151c3 to your computer and use it in GitHub Desktop.
wilduck-webmail Docker build
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
Sending build context to Docker daemon 7.846MB | |
Step 1/20 : from alpine:3.9 as builder | |
---> 78a2ce922f86 | |
Step 2/20 : ARG UID=1000 | |
---> Using cache | |
---> 56a1a0fab06e | |
Step 3/20 : ENV APP_PATH /app | |
---> Using cache | |
---> 183058c47bfb | |
Step 4/20 : WORKDIR ${APP_PATH} | |
---> Using cache | |
---> 3504c5414d87 | |
Step 5/20 : COPY . . | |
---> 6892a3451a47 | |
Step 6/20 : RUN adduser -D -g '' builder -u ${UID} | |
---> Running in 291386f0187a | |
Removing intermediate container 291386f0187a | |
---> 9ea860c1c726 | |
Step 7/20 : RUN chown -R builder . | |
---> Running in dcd6c7414fee | |
Removing intermediate container dcd6c7414fee | |
---> 78b874215262 | |
Step 8/20 : RUN apk add --no-cache nodejs | |
---> Running in af9478446532 | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz | |
(1/6) Installing ca-certificates (20191127-r2) | |
(2/6) Installing c-ares (1.15.0-r0) | |
(3/6) Installing libgcc (8.3.0-r0) | |
(4/6) Installing libstdc++ (8.3.0-r0) | |
(5/6) Installing libuv (1.25.0-r0) | |
(6/6) Installing nodejs (10.19.0-r0) | |
Executing busybox-1.29.3-r10.trigger | |
Executing ca-certificates-20191127-r2.trigger | |
OK: 32 MiB in 20 packages | |
Removing intermediate container af9478446532 | |
---> 4507b4d09784 | |
Step 9/20 : RUN apk add --no-cache openssl | |
---> Running in ed56297911b7 | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz | |
(1/1) Installing openssl (1.1.1k-r0) | |
Executing busybox-1.29.3-r10.trigger | |
OK: 32 MiB in 21 packages | |
Removing intermediate container ed56297911b7 | |
---> 4d388ab3677a | |
Step 10/20 : RUN apk add --no-cache --virtual build-deps git python npm make g++ | |
---> Running in f0e371e978b9 | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz | |
(1/31) Upgrading musl (1.1.20-r5 -> 1.1.20-r6) | |
(2/31) Installing nghttp2-libs (1.35.1-r2) | |
(3/31) Installing libssh2 (1.9.0-r1) | |
(4/31) Installing libcurl (7.64.0-r5) | |
(5/31) Installing expat (2.2.8-r0) | |
(6/31) Installing pcre2 (10.32-r1) | |
(7/31) Installing git (2.20.4-r0) | |
(8/31) Installing libbz2 (1.0.6-r7) | |
(9/31) Installing libffi (3.2.1-r6) | |
(10/31) Installing gdbm (1.13-r1) | |
(11/31) Installing ncurses-terminfo-base (6.1_p20190105-r0) | |
(12/31) Installing ncurses-terminfo (6.1_p20190105-r0) | |
(13/31) Installing ncurses-libs (6.1_p20190105-r0) | |
(14/31) Installing readline (7.0.003-r1) | |
(15/31) Installing sqlite-libs (3.28.0-r3) | |
(16/31) Installing python2 (2.7.18-r0) | |
(17/31) Installing npm (10.19.0-r0) | |
(18/31) Installing make (4.2.1-r2) | |
(19/31) Installing binutils (2.31.1-r2) | |
(20/31) Installing gmp (6.1.2-r1) | |
(21/31) Installing isl (0.18-r0) | |
(22/31) Installing libgomp (8.3.0-r0) | |
(23/31) Installing libatomic (8.3.0-r0) | |
(24/31) Installing mpfr3 (3.1.5-r1) | |
(25/31) Installing mpc1 (1.0.3-r1) | |
(26/31) Installing gcc (8.3.0-r0) | |
(27/31) Installing musl-dev (1.1.20-r6) | |
(28/31) Installing libc-dev (0.7.1-r0) | |
(29/31) Installing g++ (8.3.0-r0) | |
(30/31) Installing build-deps (0) | |
(31/31) Upgrading musl-utils (1.1.20-r5 -> 1.1.20-r6) | |
Executing busybox-1.29.3-r10.trigger | |
OK: 273 MiB in 50 packages | |
Removing intermediate container f0e371e978b9 | |
---> 673d1eba153c | |
Step 11/20 : USER builder | |
---> Running in b9e228875449 | |
Removing intermediate container b9e228875449 | |
---> 517d20cbb44c | |
Step 12/20 : RUN npm install && npm run bowerdeps | |
---> Running in 8776be249787 | |
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/ | |
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 | |
npm WARN deprecated har-validator@5.1.5: this library is no longer supported | |
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. | |
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated | |
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated | |
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated | |
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated | |
> dtrace-provider@0.8.8 install /app/node_modules/dtrace-provider | |
> node-gyp rebuild || node suppress-error.js | |
make: Entering directory '/app/node_modules/dtrace-provider/build' | |
TOUCH Release/obj.target/DTraceProviderStub.stamp | |
make: Leaving directory '/app/node_modules/dtrace-provider/build' | |
npm notice created a lockfile as package-lock.json. You should commit this file. | |
added 515 packages from 357 contributors and audited 516 packages in 13.025s | |
21 packages are looking for funding | |
run `npm fund` for details | |
found 6 vulnerabilities (3 moderate, 3 critical) | |
run `npm audit fix` to fix them, or `npm audit` for details | |
> wildduck-webmail@1.0.0 bowerdeps /app | |
> mkdir -p public/components && bower install | |
bower fetch#2.0.4 not-cached https://github.com/github/fetch.git#2.0.4 | |
bower fetch#2.0.4 resolve https://github.com/github/fetch.git#2.0.4 | |
bower bootstrap-daterangepicker#* not-cached https://github.com/dangrossman/bootstrap-daterangepicker.git#* | |
bower bootstrap-daterangepicker#* resolve https://github.com/dangrossman/bootstrap-daterangepicker.git#* | |
bower event-source-polyfill#* not-cached https://github.com/Yaffle/EventSource.git#* | |
bower event-source-polyfill#* resolve https://github.com/Yaffle/EventSource.git#* | |
bower handlebars#* not-cached https://github.com/components/handlebars.js.git#* | |
bower handlebars#* resolve https://github.com/components/handlebars.js.git#* | |
bower promise-polyfill#^7.0.0 not-cached https://github.com/taylorhakes/promise-polyfill.git#^7.0.0 | |
bower promise-polyfill#^7.0.0 resolve https://github.com/taylorhakes/promise-polyfill.git#^7.0.0 | |
bower DOMPurify#^1.0.2 not-cached https://github.com/cure53/DOMPurify.git#^1.0.2 | |
bower DOMPurify#^1.0.2 resolve https://github.com/cure53/DOMPurify.git#^1.0.2 | |
bower underscore#* not-cached https://github.com/jashkenas/underscore.git#* | |
bower underscore#* resolve https://github.com/jashkenas/underscore.git#* | |
bower moment#* not-cached https://github.com/moment/moment.git#* | |
bower moment#* resolve https://github.com/moment/moment.git#* | |
bower favico.js#^0.3.10 not-cached https://github.com/ejci/favico.js.git#^0.3.10 | |
bower favico.js#^0.3.10 resolve https://github.com/ejci/favico.js.git#^0.3.10 | |
bower jquery#* not-cached https://github.com/jquery/jquery-dist.git#* | |
bower jquery#* resolve https://github.com/jquery/jquery-dist.git#* | |
bower summernote#* not-cached https://github.com/summernote/summernote.git#* | |
bower summernote#* resolve https://github.com/summernote/summernote.git#* | |
bower event-source-polyfill#* download https://github.com/Yaffle/EventSource/archive/1.0.24.tar.gz | |
bower fetch#2.0.4 download https://github.com/github/fetch/archive/v2.0.4.tar.gz | |
bower promise-polyfill#^7.0.0 download https://github.com/taylorhakes/promise-polyfill/archive/7.1.2.tar.gz | |
bower bootstrap-daterangepicker#* download https://github.com/dangrossman/bootstrap-daterangepicker/archive/v3.0.5.tar.gz | |
bower handlebars#* download https://github.com/components/handlebars.js/archive/v4.7.7.tar.gz | |
bower DOMPurify#^1.0.2 download https://github.com/cure53/DOMPurify/archive/1.0.11.tar.gz | |
bower favico.js#^0.3.10 download https://github.com/ejci/favico.js/archive/0.3.10.tar.gz | |
bower underscore#* download https://github.com/jashkenas/underscore/archive/1.13.3.tar.gz | |
bower moment#* download https://github.com/moment/moment/archive/2.29.3.tar.gz | |
bower jquery#* download https://github.com/jquery/jquery-dist/archive/3.6.0.tar.gz | |
bower handlebars#* extract archive.tar.gz | |
bower promise-polyfill#^7.0.0 extract archive.tar.gz | |
bower fetch#2.0.4 extract archive.tar.gz | |
bower event-source-polyfill#* extract archive.tar.gz | |
bower summernote#* download https://github.com/summernote/summernote/archive/v0.8.20.tar.gz | |
bower handlebars#* resolved https://github.com/components/handlebars.js.git#4.7.7 | |
bower event-source-polyfill#* resolved https://github.com/Yaffle/EventSource.git#1.0.24 | |
bower fetch#2.0.4 resolved https://github.com/github/fetch.git#2.0.4 | |
bower promise-polyfill#^7.0.0 mismatch Version declared in the json (7.1.0) is different than the resolved one (7.1.2) | |
bower promise-polyfill#^7.0.0 resolved https://github.com/taylorhakes/promise-polyfill.git#7.1.2 | |
bower favico.js#^0.3.10 extract archive.tar.gz | |
bower moment#* extract archive.tar.gz | |
bower favico.js#^0.3.10 resolved https://github.com/ejci/favico.js.git#0.3.10 | |
bower DOMPurify#^1.0.2 extract archive.tar.gz | |
bower bootstrap-daterangepicker#* extract archive.tar.gz | |
bower jquery#* extract archive.tar.gz | |
bower bootstrap-daterangepicker#* resolved https://github.com/dangrossman/bootstrap-daterangepicker.git#3.0.5 | |
bower jquery#1.9.1 - 3 not-cached https://github.com/jquery/jquery-dist.git#1.9.1 - 3 | |
bower jquery#1.9.1 - 3 resolve https://github.com/jquery/jquery-dist.git#1.9.1 - 3 | |
bower moment#>=2.9.0 not-cached https://github.com/moment/moment.git#>=2.9.0 | |
bower moment#>=2.9.0 resolve https://github.com/moment/moment.git#>=2.9.0 | |
bower jquery#1.9.1 - 3 download https://github.com/jquery/jquery-dist/archive/3.6.0.tar.gz | |
bower moment#>=2.9.0 download https://github.com/moment/moment/archive/2.29.3.tar.gz | |
bower underscore#* extract archive.tar.gz | |
bower DOMPurify#^1.0.2 invalid-meta for:/tmp/d7d517d13a737d41b19e4d639f674d37/bower/7466080023e35ac1d0e405573139662b-50-IwTodw/bower.json | |
bower DOMPurify#^1.0.2 invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes | |
bower DOMPurify#^1.0.2 resolved https://github.com/cure53/DOMPurify.git#1.0.11 | |
bower jquery#* resolved https://github.com/jquery/jquery-dist.git#3.6.0 | |
bower summernote#* extract archive.tar.gz | |
bower moment#>=2.9.0 extract archive.tar.gz | |
bower jquery#1.9.1 - 3 extract archive.tar.gz | |
bower underscore#* resolved https://github.com/jashkenas/underscore.git#1.13.3 | |
bower jquery#1.9.1 - 3 resolved https://github.com/jquery/jquery-dist.git#3.6.0 | |
bower summernote#* resolved https://github.com/summernote/summernote.git#0.8.20 | |
bower moment#* resolved https://github.com/moment/moment.git#2.29.3 | |
bower moment#>=2.9.0 resolved https://github.com/moment/moment.git#2.29.3 | |
bower handlebars#* install handlebars#4.7.7 | |
bower event-source-polyfill#* install event-source-polyfill#1.0.24 | |
bower fetch#2.0.4 install fetch#2.0.4 | |
bower promise-polyfill#^7.0.0 install promise-polyfill#7.1.2 | |
bower favico.js#^0.3.10 install favico.js#0.3.10 | |
bower bootstrap-daterangepicker#* install bootstrap-daterangepicker#3.0.5 | |
bower DOMPurify#^1.0.2 install DOMPurify#1.0.11 | |
bower jquery#1.9.1 - 3 install jquery#3.6.0 | |
bower underscore#* install underscore#1.13.3 | |
bower summernote#* install summernote#0.8.20 | |
bower moment#>=2.9.0 install moment#2.29.3 | |
handlebars#4.7.7 public/components/handlebars | |
event-source-polyfill#1.0.24 public/components/event-source-polyfill | |
fetch#2.0.4 public/components/fetch | |
promise-polyfill#7.1.2 public/components/promise-polyfill | |
favico.js#0.3.10 public/components/favico.js | |
bootstrap-daterangepicker#3.0.5 public/components/bootstrap-daterangepicker | |
├── jquery#3.6.0 | |
└── moment#2.29.3 | |
DOMPurify#1.0.11 public/components/DOMPurify | |
jquery#3.6.0 public/components/jquery | |
underscore#1.13.3 public/components/underscore | |
summernote#0.8.20 public/components/summernote | |
moment#2.29.3 public/components/moment | |
Removing intermediate container 8776be249787 | |
---> 947e0a630d9c | |
Step 13/20 : from alpine:3.9 as app | |
---> 78a2ce922f86 | |
Step 14/20 : RUN apk add --no-cache nodejs | |
---> Using cache | |
---> cf2017b51f60 | |
Step 15/20 : ENV APP_PATH /app | |
---> Using cache | |
---> ccab224debaf | |
Step 16/20 : WORKDIR ${APP_PATH} | |
---> Using cache | |
---> 47a02161142e | |
Step 17/20 : COPY --from=builder ${APP_PATH}/ ${APP_PATH}/ | |
---> e6f6bb74134a | |
Step 18/20 : COPY --from=builder ${APP_PATH}/config/default.toml /etc/wildduck/www.toml | |
---> aa70d3654987 | |
Step 19/20 : ENTRYPOINT ["node", "server.js"] | |
---> Running in d4b2b00acc6c | |
Removing intermediate container d4b2b00acc6c | |
---> ca790e81205d | |
Step 20/20 : CMD ["--config=\"/etc/wildduck/www.toml\""] | |
---> Running in 670262ee79a3 | |
Removing intermediate container 670262ee79a3 | |
---> bd5614a7a7a0 | |
Successfully built bd5614a7a7a0 | |
Successfully tagged wildduck-webmail:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment