Skip to content

Commit

Permalink
Remove check for node 10 that would use an older alpine registry
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Jan 22, 2024
1 parent 1fcecb8 commit b57458d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
ARG NODE_VERSION
FROM node:${NODE_VERSION}-alpine

# use an older alpine registry for >=10.19
# because otherwise requiring node-rdkafka breaks
# linux amd64 (like CI)
RUN if [ -z "${NODE_VERSION%%10*}" ]; then \
sed -i -e 's/v3.11/v3.9/g' /etc/apk/repositories \
&& apk upgrade; \
fi

RUN apk --no-cache add \
bash \
curl \
Expand Down

0 comments on commit b57458d

Please sign in to comment.