Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 2.6/alpine3.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down
8 changes: 7 additions & 1 deletion 2.6/alpine3.12/Dockerfile → 2.6/alpine3.14/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.14

RUN apk add --no-cache \
gmp-dev
Expand Down Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down Expand Up @@ -67,6 +68,11 @@ RUN set -eux; \
echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; \
patch -p1 -i thread-stack-fix.patch; \
rm thread-stack-fix.patch; \
# https://bugs.ruby-lang.org/issues/17723 (autoconf-2.70.patch)
wget -O 'autoconf-2.70.patch' 'https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch'; \
echo '62eefa55030788d409003eccd945ccc408f02fe0d71616ed1c1bdcaf7a2f8a54 *autoconf-2.70.patch' | sha256sum --check --strict; \
patch -p1 -i autoconf-2.70.patch; \
rm autoconf-2.70.patch; \
\
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
# warning: Insecure world writable dir
Expand Down
1 change: 1 addition & 0 deletions 2.7/alpine3.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down
3 changes: 2 additions & 1 deletion 2.7/alpine3.12/Dockerfile → 2.7/alpine3.14/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.14

RUN apk add --no-cache \
gmp-dev
Expand Down Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down
1 change: 1 addition & 0 deletions 3.0/alpine3.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down
3 changes: 2 additions & 1 deletion 3.0/alpine3.12/Dockerfile → 3.0/alpine3.14/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.14

RUN apk add --no-cache \
gmp-dev
Expand Down Expand Up @@ -29,6 +29,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN set -eux; \
ca-certificates \
coreutils \
dpkg-dev dpkg \
g++ \
gcc \
gdbm-dev \
glib-dev \
Expand Down Expand Up @@ -68,6 +69,11 @@ RUN set -eux; \
echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; \
patch -p1 -i thread-stack-fix.patch; \
rm thread-stack-fix.patch; \
# https://bugs.ruby-lang.org/issues/17723 (autoconf-2.70.patch)
wget -O 'autoconf-2.70.patch' 'https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch'; \
echo '62eefa55030788d409003eccd945ccc408f02fe0d71616ed1c1bdcaf7a2f8a54 *autoconf-2.70.patch' | sha256sum --check --strict; \
patch -p1 -i autoconf-2.70.patch; \
rm autoconf-2.70.patch; \
\
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
# warning: Insecure world writable dir
Expand Down
4 changes: 2 additions & 2 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaultDebianSuite='buster'
declare -A debianSuites=(
#[2.7]='buster'
)
defaultAlpineVersion='3.13'
defaultAlpineVersion='3.14'
declare -A alpineVersion=(
#[2.3]='3.8'
)
Expand Down Expand Up @@ -80,7 +80,7 @@ join() {
for version in "${versions[@]}"; do
for v in \
{buster,stretch}{,/slim} \
alpine{3.13,3.12} \
alpine{3.14,3.13} \
; do
dir="$version/$v"
variant="$(basename "$v")"
Expand Down
11 changes: 10 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ for version in "${versions[@]}"; do
echo "$version: $fullVersion; $shaVal"

for v in \
alpine{3.13,3.12} \
alpine{3.14,3.13} \
{stretch,buster}{/slim,} \
; do
dir="$version/$v"
Expand Down Expand Up @@ -89,6 +89,15 @@ for version in "${versions[@]}"; do
stretch/slim)
sed -i -e '/libgdbm-compat-dev/d' "$dir/Dockerfile"
;;
alpine3.13)
sed -i -e '/autoconf-2.70.patch/d' "$dir/Dockerfile"
;;
esac

case "$version" in
'2.7'|'3.0')
sed -i -e '/autoconf-2.70.patch/d' "$dir/Dockerfile"
;;
esac

# https://github.com/docker-library/ruby/issues/246
Expand Down