forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 4 commits.
# This is the 1st commit message: Add MethodResponse support for aws-apigateway # This is the commit message aws#2: Remove Dockerfile that was no longer needed # This is the commit message aws#3: Update python base image from 3.6 to 3.6.5 # This is the commit message aws#4: Make the dockerfile work
- Loading branch information
1 parent
33c2a6d
commit f626ceb
Showing
2 changed files
with
20 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
packages/ |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM python:3.7.2 | ||
RUN apt-get update && \ | ||
apt-get -y install make g++ rsync git zip vim && \ | ||
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \ | ||
apt-get -y install nodejs && \ | ||
npm install -g lerna | ||
ENV NPM_CONFIG_PREFIX=/home/root/.npm-global | ||
|
||
# USER node | ||
RUN mkdir -p /home/node/build | ||
WORKDIR /home/node/build | ||
|
||
# Add lerna aliases | ||
RUN echo "alias lr='lerna run --stream --scope \$(node -p \"require(\\\"./package.json\\\").name\")'" >> ~/.bashrc && \ | ||
echo "alias lb='lr build'" >> ~/.bashrc && \ | ||
echo "alias lt='lr test'" >> ~/.bashrc && \ | ||
echo "alias lw='lr watch'" >> ~/.bashrc | ||
|
||
CMD ["bash"] |