This repository has been archived by the owner on Jun 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: docker image base migrated to ubuntu v20.04 and zeromq version u…
…pgraded to v5.2.8 (#659) * fix: docker image base migrated to ubuntu v20.04 and zeromq version upgraded to v5.2.8 * fix: changed default nvm env * dockerfile line ending fix * removed nvm and changed version to 12.x(latest) Co-authored-by: Baha <[email protected]>
- Loading branch information
1 parent
6d0ed74
commit 27ffcc9
Showing
3 changed files
with
13 additions
and
13 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,13 +1,13 @@ | ||
FROM node:12.18.1-alpine | ||
RUN apk add --update\ | ||
python \ | ||
python3 \ | ||
build-base \ | ||
zeromq-dev \ | ||
&& rm -rf /var/cache/apk/* | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update && apt-get install -y curl \ | ||
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& node --version \ | ||
&& npm --version \ | ||
&& npm install -g yarn | ||
|
||
WORKDIR /app | ||
COPY . /app/catapult-rest | ||
RUN cd catapult-rest \ | ||
&& ./yarn_setup.sh | ||
RUN cd catapult-rest/rest | ||
RUN cd catapult-rest && ./yarn_setup.sh | ||
WORKDIR /app/catapult-rest/rest |
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