-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c439688
commit 329a9cb
Showing
2 changed files
with
37 additions
and
1 deletion.
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 +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 |
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,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 |