picobox 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/picobox/boxes/packages/elixir/Dockerfile +7 -2
- data/lib/picobox/boxes/packages/python/Dockerfile +6 -10
- data/lib/picobox/boxes/packages/rails/Dockerfile +24 -4
- data/lib/picobox/boxes/packages/rails/docker-compose.yml +1 -1
- data/lib/picobox/boxes/packages/ruby/Dockerfile +46 -2
- data/lib/picobox/constants.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 999db531c64444e56a03d3606c910376fcc50e6b
|
4
|
+
data.tar.gz: e4a35cc64748db3e635a94913a53c6dfea07a719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09fef0d98871a2effc624e3b4e92833f0995e6457144937649c21db9433a5f5928391ce302560a58d674ab969b85b3baeca3487600a9248644e1b21d52bcf96
|
7
|
+
data.tar.gz: 7a8c9c4ca92fbdeef529eead561ed9e30f14c05928a89572548f15c256acfa23ba27b84f0b4427e228973f45760c2c37bbf2f4c36ee0b389de0f3adffd098c60
|
@@ -1,7 +1,12 @@
|
|
1
1
|
# picobox with elixir
|
2
2
|
#
|
3
3
|
# VERSION 0.1.0
|
4
|
-
|
4
|
+
|
5
|
+
# Change this for different versions of ruby (see https://hub.docker.com/_/elixir/)
|
6
|
+
# FROM elixir:1.4-slim
|
7
|
+
# FROM elixir:1.3-slim
|
8
|
+
|
9
|
+
FROM elixir:slim
|
5
10
|
MAINTAINER Stefan Surzycki <stefan.surzycki@gmail.com>
|
6
11
|
|
7
12
|
ENV HOSTNAME picobox
|
@@ -24,7 +29,7 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
|
24
29
|
RUN apt-get install -y nodejs
|
25
30
|
|
26
31
|
# utils
|
27
|
-
RUN apt-get install -y nano git
|
32
|
+
RUN apt-get install -y nano git build-essential
|
28
33
|
|
29
34
|
# make nano work
|
30
35
|
RUN echo "export TERM=xterm" >> /etc/bash.bashrc
|
@@ -1,7 +1,11 @@
|
|
1
1
|
# python
|
2
2
|
#
|
3
3
|
# VERSION 0.0.2
|
4
|
-
|
4
|
+
|
5
|
+
# Change this for different versions of ruby (see https://hub.docker.com/_/python/)
|
6
|
+
# FROM python:3.5-slim
|
7
|
+
# FROM python:3.4-slim
|
8
|
+
FROM python:slim
|
5
9
|
MAINTAINER Stefan Surzycki <stefan.surzycki@gmail.com>
|
6
10
|
|
7
11
|
ENV APP_HOME ~
|
@@ -13,18 +17,10 @@ ENV HOSTNAME picobox
|
|
13
17
|
# add repository software
|
14
18
|
RUN apt-get update
|
15
19
|
|
16
|
-
# replace default interpreter to bash
|
17
|
-
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
18
|
-
|
19
|
-
## Languages
|
20
|
-
|
21
|
-
# install python
|
22
|
-
RUN apt-get install -y python-pip python-yaml gcc python-dev libffi-dev libssl-dev sshpass openssh-client git
|
23
|
-
|
24
20
|
## Tools
|
25
21
|
|
26
22
|
# utils
|
27
|
-
RUN apt-get install -y sudo nano wget
|
23
|
+
RUN apt-get install -y sudo nano wget git gcc openssh-client build-essential
|
28
24
|
|
29
25
|
# set working dir
|
30
26
|
WORKDIR $APP_HOME
|
@@ -1,7 +1,12 @@
|
|
1
1
|
# picobox for use with rails containing ruby and nodejs
|
2
2
|
#
|
3
3
|
# VERSION 0.1.0
|
4
|
-
|
4
|
+
|
5
|
+
# Change this for different versions of ruby (see https://hub.docker.com/_/ruby/)
|
6
|
+
# FROM ruby:2.2-slim
|
7
|
+
# FROM ruby:2.3-slim
|
8
|
+
|
9
|
+
FROM ruby:slim-stretch
|
5
10
|
MAINTAINER Stefan Surzycki <stefan.surzycki@gmail.com>
|
6
11
|
|
7
12
|
ENV APP_HOME /var/www
|
@@ -15,6 +20,17 @@ ENV HOSTNAME picobox
|
|
15
20
|
RUN mkdir -p /tmp
|
16
21
|
WORKDIR /tmp
|
17
22
|
|
23
|
+
# add repository software
|
24
|
+
RUN apt-get update
|
25
|
+
RUN apt-get install -y build-essential software-properties-common tzdata wget curl gnupg2
|
26
|
+
|
27
|
+
## Languages
|
28
|
+
|
29
|
+
# nodejs
|
30
|
+
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
31
|
+
RUN apt-get install -y nodejs
|
32
|
+
|
33
|
+
|
18
34
|
## Database dependencies
|
19
35
|
|
20
36
|
# postgres client
|
@@ -24,11 +40,12 @@ RUN apt-get install -y libpq-dev postgresql-client
|
|
24
40
|
RUN apt-get install -y libsqlite3-dev
|
25
41
|
|
26
42
|
# mysql
|
27
|
-
RUN apt-get install -y libmysqlclient-dev
|
43
|
+
RUN apt-get install -y default-libmysqlclient-dev
|
28
44
|
|
29
|
-
## Tools
|
30
45
|
|
31
|
-
#
|
46
|
+
# Tools
|
47
|
+
|
48
|
+
## phantomjs pre-requisites
|
32
49
|
RUN apt-get install -y chrpath libssl-dev libxft-dev
|
33
50
|
RUN apt-get install -y libfreetype6 libfreetype6-dev
|
34
51
|
RUN apt-get install -y libfontconfig1 libfontconfig1-dev
|
@@ -44,6 +61,9 @@ RUN apt-get update && apt-get install -y yarn
|
|
44
61
|
# utils
|
45
62
|
RUN apt-get install -y nano git
|
46
63
|
|
64
|
+
# make nano work
|
65
|
+
RUN echo "export TERM=xterm" >> /etc/bash.bashrc
|
66
|
+
|
47
67
|
# hook up cache volume
|
48
68
|
ENV BUNDLE_PATH /bundle
|
49
69
|
|
@@ -1,5 +1,49 @@
|
|
1
|
-
# picobox
|
1
|
+
# picobox for use ruby and nodejs
|
2
2
|
#
|
3
3
|
# VERSION 0.1.0
|
4
|
-
|
4
|
+
|
5
|
+
# Change this for different versions of ruby (see https://hub.docker.com/_/ruby/)
|
6
|
+
# FROM ruby:2.2-slim
|
7
|
+
# FROM ruby:2.3-slim
|
8
|
+
|
9
|
+
FROM ruby:slim-stretch
|
5
10
|
MAINTAINER Stefan Surzycki <stefan.surzycki@gmail.com>
|
11
|
+
|
12
|
+
ENV APP_HOME /var/www
|
13
|
+
ENV PATH $APP_HOME/bin:$PATH
|
14
|
+
|
15
|
+
# silence deb warnings
|
16
|
+
ENV DEBIAN_FRONTEND noninteractive
|
17
|
+
ENV HOSTNAME picobox
|
18
|
+
|
19
|
+
# do install here
|
20
|
+
RUN mkdir -p /tmp
|
21
|
+
WORKDIR /tmp
|
22
|
+
|
23
|
+
# add repository software
|
24
|
+
RUN apt-get update
|
25
|
+
RUN apt-get install -y build-essential software-properties-common tzdata wget curl gnupg2
|
26
|
+
|
27
|
+
## Languages
|
28
|
+
|
29
|
+
# nodejs
|
30
|
+
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
31
|
+
RUN apt-get install -y nodejs
|
32
|
+
|
33
|
+
# utils
|
34
|
+
RUN apt-get install -y nano git
|
35
|
+
|
36
|
+
# make nano work
|
37
|
+
RUN echo "export TERM=xterm" >> /etc/bash.bashrc
|
38
|
+
|
39
|
+
# hook up cache volume
|
40
|
+
ENV BUNDLE_PATH /bundle
|
41
|
+
|
42
|
+
# working dir
|
43
|
+
WORKDIR $APP_HOME
|
44
|
+
|
45
|
+
# add gemfile
|
46
|
+
ONBUILD ADD Gemfile* $APP_HOME/
|
47
|
+
|
48
|
+
# hook up source
|
49
|
+
ONBUILD ADD . $APP_HOME
|
data/lib/picobox/constants.rb
CHANGED