Last active
September 10, 2018 08:42
-
-
Save Pavel-Durov/fcb8fcce47900866365de6fea0e33a64 to your computer and use it in GitHub Desktop.
node, aws & psql docker image
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
FROM node:8.11.4-slim | |
USER root | |
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' >> /etc/apt/sources.list.d/pgdg.list | |
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |
RUN apt-get update | |
RUN apt-get install -y python3-pip | |
RUN pip3 install awscli | |
RUN apt-get install -y vim | |
RUN apt-get install -y postgresql-client-10: | |
RUN apt-get install -y gettext-base -y | |
RUN echo "dependencies test: psql: $(which psql)" && echo "aws: $(which aws)" | |
COPY index.js /usr/local/bin/ | |
CMD ["node", "/usr/local/bin/index.js"] | |
## starcountdev/circleci-node-8.11.4 ## | |
# node: v8.11.4 | |
# aws-cli: 1.15.80 | |
# python3: 3.4.2 | |
# pip3: 18.0 | |
# envsubst: 0.19.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment