-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Docker image to run on Node 14 (#249)
Update Dockerfile to get node 14 for local build and test
- Loading branch information
Showing
5 changed files
with
317 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
FROM phusion/baseimage:18.04-1.0.0-amd64 | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y npm && \ | ||
/usr/bin/npm install npm@5.7.1 -g --production && \ | ||
/usr/bin/npm cache rm && \ | ||
rm -rf /var/lib/apt/lists/* /var/cache/debconf/*-old && \ | ||
rm -rf /var/log/*.log /var/log/apt/*.log | ||
|
||
RUN touch /etc/service/cron/down | ||
RUN touch /etc/service/sshd/down | ||
|
||
# Use baseimage-docker's init system. | ||
CMD ["/sbin/my_init"] | ||
FROM node:14-alpine3.15 | ||
RUN apk update && apk add --no-cache bash | ||
ENTRYPOINT ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ version: '3.7' | |
services: | ||
ward-leaders: | ||
init: true | ||
tty: true | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
|
Oops, something went wrong.