fix(dockerfile): Fix jessie-updates issues with node:8.10.0-slim image
This commit is contained in:
parent
6586c03af1
commit
6c9270b3de
@ -5,6 +5,8 @@
|
|||||||
# in the final image.
|
# in the final image.
|
||||||
FROM node:8.10.0-slim as builder
|
FROM node:8.10.0-slim as builder
|
||||||
|
|
||||||
|
# Fix build now that jessie-updates has been archived
|
||||||
|
RUN sed -i '/jessie-updates/d' /etc/apt/sources.list
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
g++ \
|
g++ \
|
||||||
|
|||||||
@ -5,6 +5,8 @@
|
|||||||
# in the final image.
|
# in the final image.
|
||||||
FROM node:8.10.0-slim as builder
|
FROM node:8.10.0-slim as builder
|
||||||
|
|
||||||
|
# Fix build now that jessie-updates has been archived
|
||||||
|
RUN sed -i '/jessie-updates/d' /etc/apt/sources.list
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
g++ \
|
g++ \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user