Skip to content

Commit 15144f4

Browse files
committed
🐳 set docker image version
switch to : - node:8.16.2-alpine - nginx:1.16.1-alpine
1 parent 31acf12 commit 15144f4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
FROM node:slim as builder
1+
FROM node:8.16.2-alpine as builder
22

33
ENV H5AI_VERSION=0.29.2
44

5-
RUN apt-get update \
6-
&& apt-get --no-install-recommends -y install \
7-
git-core \
8-
patch \
5+
RUN apk add --no-cache git patch \
96
&& git clone https://github.com/lrsjng/h5ai.git \
107
&& cd h5ai \
118
&& git checkout -b ${H5AI_VERSION} tags/v${H5AI_VERSION} \
@@ -16,7 +13,7 @@ COPY class-setup.php.patch /class-setup.php.patch
1613
RUN patch -p1 -u -d /h5ai/build/_h5ai/private/php/core/ -i /class-setup.php.patch \
1714
&& rm /class-setup.php.patch
1815

19-
FROM nginx:stable-alpine
16+
FROM nginx:1.16.1-alpine
2017

2118
LABEL maintainer="pad92" \
2219
org.label-schema.url="https://github.com/pad92/docker-h5ai/blob/master/README.md" \

0 commit comments

Comments
 (0)