Skip to content

Commit

Permalink
Adds ak-ubuntu dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Praseetha-KR committed Jan 11, 2018
1 parent c439688 commit 329a9cb
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# ak-ubuntu
# Docker Files


### ak-ubuntu
`appknox/ak-ubuntu` ([Docker Hub](https://hub.docker.com/r/appknox/ak-ubuntu/))

>Base: `Ubuntu 16.04`
>- PPAs added:
> - Python 3.6 (deadsnakes)
> - Node 9.3 (nodesource)
> - nginx (development)
>- packages installed:
> - gosu
24 changes: 24 additions & 0 deletions ak-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:16.04

LABEL maintainer "Appknox <[email protected]>"

ENV GOSU_VERSION 1.10

RUN apt-get update || apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
curl \
git \
software-properties-common \
python-software-properties \
&& curl -sL https://deb.nodesource.com/setup_9.x -o nodesource_setup.sh \
&& bash nodesource_setup.sh \
&& add-apt-repository ppa:nginx/development -y \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& gpg --verify /usr/local/bin/gosu.asc \
&& rm /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu

0 comments on commit 329a9cb

Please sign in to comment.