Commit Graph

49 Commits

Author SHA1 Message Date
KobayashiAzusa 1150bf9d53 Clean cache after smoke test 2025-03-14 16:55:53 +08:00
Laurent Goderre 416397c67b Fix version 18 on arm64v8 arch
Fixes #2096
2024-06-04 09:58:27 -04:00
Mohamed EL-Habib 2570da300c cleanup the /tmp folder to save 2.5Mo 2024-04-12 17:31:27 +02:00
Yehonatan Zecharia 89afeedf05 Remove unused openssl headers from alpine images as well 2023-11-14 10:41:44 +02:00
Jesper Noordsij d951a7ff95
Use temporary gpg directory to disable automatic use of keybox daemon 2023-05-22 17:08:24 +02:00
Nick Schonning 5f3ea4e2a0
feat: Drop Node 12 for EOL 2022-04-30 2022-05-01 18:21:29 -04:00
Nick Schonning 66b46292a6
chore: Use openpgp and Ubuntu keyservers 2021-07-01 15:12:18 -04:00
Travis Shivers 3d290f8d6d
fix: use python3 or python2 for alpine
In alpine3.12, they removed the python package in favor of either
python2 or python3.
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.12.0#python2_no_longer_provides_python_and_python-devel

However, nodejs 12, 10 require python2 for building from source. I added
a change in update.sh that swaps out python3 for python2 in those older
versions for alpine Dockerfiles.

Refs #1330
2020-09-22 18:50:21 -05:00
Simen Bekkhus 6005d05f58
chore: add smoke tests to the images 2020-01-14 10:17:35 +01:00
Peter Dave Hello cb7bada56a Replace`arch` with `apk --print-arch` in Dockerfile-alpine.template
As suggested by @tianon in docker-library/official-images#6871
2019-10-30 00:22:33 +08:00
Laurent Goderre 93c5e09856 Fetch the checksum for the pre-built alpine binary at image update time. 2019-10-28 09:15:17 -04:00
Laurent Goderre c219332723 Try to download pre-built alpine binary before building 2019-10-28 09:15:17 -04:00
Laurent Goderre 7e47b378c4 Added an entrypoint script
Fixes #1039
2019-05-26 19:53:24 -04:00
Peter Dave Hello 9eee8683c4 Disable `make` verbose mode in Alpine Dockerflie template
Missing in #1022
2019-04-24 01:02:46 +08:00
Tianon Gravi 77c2d0850a Revert "Enable ccache for Alpine builds on Travis CI" and "Fix Alpine build with the missing `|| true`"
This reverts commits 2893221564 and 7e5b3f07e6.
2018-11-22 10:11:01 -08:00
Peter Dave Hello 2893221564 Fix Alpine build with the missing `|| true`
This can prevent the build failed when there is no outside netcat
listening for cache transferring.
2018-11-21 23:46:28 +08:00
Peter Dave Hello 7e5b3f07e6 Enable ccache for Alpine builds on Travis CI 2018-11-21 19:25:00 +08: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
Max Winterstein 5c23d96539 Fix wrong link to gpg keys 2018-11-12 10:07:33 +01:00
Laurent Goderre 9bd00c484c Simplify the management of alpine version
Standardizes the alpine version to use and helps upgrade the alpine version only on version update
2018-05-21 07:07:42 -04: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
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
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
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
Laurent Goderre 1538344c06 Merge pull request #307 from styfle/patch-3
Add group & user in alpine to match wheezy
2017-03-28 08:41:17 -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
Steven 1df84b7025 Add group & user in alpine to match wheezy 2017-01-06 12:08:43 -05:00
Peter Dave Hello a3489450fc Alpine doesn't need tar package, builtin via busybox 2016-11-27 22:56:49 +08:00
Peter Dave Hello fc912b8e1f Use xz instead of gz to get src tarball for alpine 2016-11-27 22:23:52 +08:00
Sebastian Tschan 3d8dc7666d Add node group/user with gid/uid 1000 and a home directory.
This is a workaround for boot2docker issue 581, see
https://github.com/boot2docker/boot2docker/issues/581
2016-11-15 16:02:51 +01:00
Laurent Goderre d20d305f0b Added the default user to the alpine variant 2016-11-09 20:57:36 -05:00
Laurent Goderre fa01818156 Added an alpine variant 2016-11-09 20:57:36 -05:00