Sign inSign up

sribasu/awslinux-node

By sribasu

•Updated over 1 year ago

Docker image built on Amazon Linux with NodeJS and PhantomJS preinstalled

Image
0

1.0K

sribasu/awslinux-node repository overview

Dockerfile Source Code

FROM amazonlinux:latest
MAINTAINER [email protected]
RUN yum upgrade -y
RUN yum install -y sudo bzip2 tar wget nano
RUN sudo yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
RUN sudo yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
RUN sudo yum install -y fontconfig freetype freetype-devel fontconfig-devel libstdc++
RUN cd /tmp
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
RUN sudo mkdir -p /opt/phantomjs
RUN bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2
RUN sudo tar -xvf phantomjs-2.1.1-linux-x86_64.tar --directory /opt/phantomjs/ --strip-components 1
RUN sudo ln -s /opt/phantomjs/bin/phantomjs /usr/bin/phantomjs
ENV OPENSSL_CONF=/etc/ssl
RUN npm config set strict-ssl false
ENV NODETLS_REJECT_UNAUTHORIZED=0

Tag summary

Content type

Image

Digest

sha256:a9629d80b…

Size

263.9 MB

Last updated

over 1 year ago

docker pull sribasu/awslinux-node