Commit Graph

56 Commits

Author SHA1 Message Date
Orgad Shaneh c3973687f2 Revert "Remove stray * for linux*-s390x in slim images"
There are linux32-s390x and linux64-s390x[1].

Copilot review was misleading.

This reverts commit ec45cd2793.

[1] https://github.com/nodejs/node/tree/main/deps/openssl/config/archs
2025-07-16 19:20:01 +03:00
Orgad Shaneh ec45cd2793 Remove stray * for linux*-s390x in slim images
Discovered by Copilot.
2025-07-10 21:55:56 +03:00
Tianon Gravi d78e8df65f Update all `gpg --recv-keys` invocations with explicit "did it download" checks
This solves for the case of `gpg --recv-keys` receiving enough valid data that it doesn't return a non-zero exit code, but that it also doesn't import a key by explicitly checking afterwards that it did import the key we asked for (so that the fallback to keyserver.ubuntu.com actually happens appropriately for keys whose UID are no longer validated on keys.openpgp.org).
2025-07-02 14:10:14 -07:00
KobayashiAzusa 1150bf9d53 Clean cache after smoke test 2025-03-14 16:55:53 +08:00
Mohamed EL-Habib 2570da300c cleanup the /tmp folder to save 2.5Mo 2024-04-12 17:31:27 +02:00
Laurent Goderre dbc174542d
Merge pull request #1923 from yehonatanz/remove-unused-openssl-headers
Remove unused openssl headers
2023-11-13 12:28:17 -05:00
Jesper Noordsij 72958a9258
Use temporary GNUPGHOME directory when using gpg in image builds 2023-10-06 16:14:27 +02:00
Yehonatan Zecharia 7bf57de587 Remove unused OpenSSL headers to save ~34MB of image size 2023-09-27 16:07:17 +03:00
Joseph Ferguson a9702c9a61 Update ldd|awk to account for Bookworm's merged /usr 2023-06-27 14:24:58 -07:00
Nick Schonning 66b46292a6
chore: Use openpgp and Ubuntu keyservers 2021-07-01 15:12:18 -04:00
Simen Bekkhus 2caaf1a42c
maybe fix arm? 2020-02-13 23:17:43 +01:00
Simen Bekkhus 71849fa348
chore: try to keep dynamically linked files 2020-02-13 22:46:12 +01:00
Simen Bekkhus 6005d05f58
chore: add smoke tests to the images 2020-01-14 10:17:35 +01:00
Simen Bekkhus f99660df7b
fix: uninstall download helpers from slim image 2020-01-08 09:30:05 +01:00
Laurent Goderre 7e47b378c4 Added an entrypoint script
Fixes #1039
2019-05-26 19:53:24 -04:00
Laurent Goderre 8c0a9f2c14 Multiple slim (#850) 2018-11-29 15:20:12 +01:00
Christopher Horrell 8ccd57c145 Update gpg invocations to use --batch
See:

- https://bugs.debian.org/913614
- https://github.com/docker-library/busybox/pull/55
2018-11-16 12:15:31 -05:00
Peter Dave Hello ce9b7cd449 Add missing dependency gnupg & dirmngr in slim template 2018-11-01 01:09:38 +08:00
Peter Dave Hello 2dc90a6861 Move gpg key import after architecture checking 2018-11-01 01:05:33 +08:00
Peter Dave Hello 24cc570947 Switch slim template to Debian Stretch 2018-10-31 11:44:02 +08:00
Christopher Horrell 9472806006 curl: always use --compressed flag 2018-05-18 13:23:45 -04:00
Christopher Horrell 4e0c4c8644 curl: use -f flag consistently
Curl will fail silently with error 22 rather outputting the html error
document
2018-05-18 13:23:45 -04:00
Christopher Horrell 90029512f9 curl: use -s and -S flags to disable progress meter but show errors 2018-05-18 13:23:45 -04:00
Christopher Horrell 49790d2e87 Switch to jessie-slim for the slim variant
Closes #618
2018-05-18 09:54:30 -04:00
Laurent Goderre 9e436c3176 Insert GPG keys on update 2018-05-08 07:51:44 -04:00
Cecile Tonglet ab12e9bab4 Fixed symbolic links to yarn and yarnpkg (#650)
* Fixed symbolic links to yarn and yarnpkg

* Ensures npm and yarn can be run properly
2018-03-16 16:41:21 +01:00
Peter Dave Hello 63b1fa17ce Fix yarn directory creation step, cc #639 2018-03-16 00:04:28 +08:00
Eyal Zekaria 838d873498
Symlink yarn directory
this will allow for an easier upgrade/downgrade of yarn, e.g:

```
FROM node:6-slim

ENV YARN_VERSION 1.5.1

RUN curl -fSLO --compressed
"https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz"
&&\
    tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ &&\
    ln -snf /opt/yarn-v$YARN_VERSION /opt/yarn &&\
    rm yarn-v$YARN_VERSION.tar.gz
```
2018-03-09 11:41:09 +01:00
Christopher Horrell 8498ff5302 Drop keyserver.pgp.com
See https://github.com/docker-library/official-images/pull/4006#issuecomment-365420103

Also try pgp.mit.edu last instead of first and try p80.pool.sks-keyservers.net
first
2018-02-20 13:18:24 -05:00
Paolo Mainardi 4e5eda8fed remove :80 from ipv4 host 2018-02-06 17:35:01 +01:00
Paolo Mainardi fb4d1b39fe fix templates 2018-02-05 23:48:07 +01:00
Paolo Mainardi 43458812d3 better support of gpg keys installation behind a proxy 2018-02-05 13:52:34 +01:00
Christopher Horrell 0d53412448 Use --no-same-owner to enforce root ownership 2017-11-07 20:46:19 -05:00
Christopher Horrell ca6f742e5c Set ownership for Node.js tarball. Fixes #505 2017-11-07 20:46:19 -05:00
Simen Bekkhus 001cfa3930
Add i386 arch support (#576)
* Add i386 arch support

Fixes #574

* download is x86, not i386

* Remove wheezy from i386 builds

* No alpine-3.4 i386 build
2017-11-05 16:41:03 +01:00
Peter Dave Hello 94a739297f Update GPG keys 2017-11-01 03:33:36 +08:00
Laurent Goderre 9861e1b843 Revert log level to npm's default level
Fixes #528
2017-10-18 12:05:45 -04:00
Robert (Jamie) Munro 9d82d3ff6e Update list of gpg keys (#546)
* Update list of gpg keys 

from https://github.com/nodejs/node#release-team

The former first key no longer seems to exist on the keyservers.

* Update gpg keys in other templates
2017-10-18 14:56:17 +02:00
Dāvis b502aa0163 Support arm32v7 architecture (#504)
* Support arm32v7

* Fix update script for armv7

* Fix get_arch function for arm32v7

* Fix indent
2017-08-18 21:21:26 +02:00
Simen Bekkhus 9312dc9980 Add arm64 to slim and 4.8 (#501) 2017-08-15 15:47:03 +02:00
Yihong Wang d001b4cfef Support s390x architecture (#490)
- Support `s390x` in all of the version except 4.8 and the following
  variants: default, alpine, stretch and onbuild
- Generate proper `architectures` for the stackbrew
- Update `update.sh` in order to be used on s390x
- `s390` is not supported in v4.8, therefore, add a local architectures
  under 4.8 and remove `s390x` there

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2017-08-09 11:13:50 +02:00
Yihong Wang 8305e4c32f Support Linux on ppc64le
- Add an architectures file to list supported architectures and
  variants.
- Add new `ARCH` ENV into Dockerfile. It represents the architecture.
- Add a functions.sh to put utility functions, including
  - get_arch: get the current running architecture.
  - get_variants: get corresponding supported variants based on the
    running architecture.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2017-07-20 10:41:22 -07:00
Peter Petrov 1b7702bd04 Change Yarn installation method. Tarball is used now. 2017-05-16 03:55:35 +03:00
Peter Petrov 7014a1a7db Reorder keyservers 2017-05-15 05:20:23 +03:00
Peter Dave Hello 178e7a18a2 Enable curl "--compressed" 2017-05-04 00:03:16 +08:00
Christopher Horrell 06bb597f0a Try other key servers if ha.pool.sks-keyservers.net is unreachable
If ha.pool.sks-keyservers.net times out we try pgp.mit.edu then
keyserver.pgp.com.

This should hopefully resolve the occasional build errors we see in
Travis and for issues like #340
2017-04-06 15:52:48 -04:00
Christopher Horrell 0633e31db9
Merge pull request #358 from chorrell/v7.7.3
Update for Node.js v7.7.3
2017-03-15 18:59:17 +02:00
Peter Petrov debf4ea17c Build stability improvements (curl & gpg) 2017-03-01 02:12:21 +02:00
Peter Petrov a86d32ab9a Add Yarn 2017-02-25 00:58:44 +02:00
Christopher Horrell 0f84465129 Update for Node.js v7.6.0; add new sig
See:

- https://nodejs.org/en/blog/release/v7.6.0/

Also Adds fignerprint for Italo A. Casas

See:

- https://github.com/nodejs/node#release-team
2017-02-22 09:00:19 -05:00