picobox 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 649bcb114c8fd7298d2791313377d7700853d080
4
- data.tar.gz: f897fc645ff84b0377012c11bb86eece25e04d68
3
+ metadata.gz: 999db531c64444e56a03d3606c910376fcc50e6b
4
+ data.tar.gz: e4a35cc64748db3e635a94913a53c6dfea07a719
5
5
  SHA512:
6
- metadata.gz: 4b215666290df4a457c543a9dfc4bc8efa8db2392669ca1953109dbeba0b257a0a36b1124ca13e35e67a210337bbd71ce1805c6412952cf48af41c21eed7cf9a
7
- data.tar.gz: 87a78effe3224a45a9a4eb968090ae95cfe379dd0a602e16570545ce21b5e9c1d592ae71683a6e7c5889b0d4511e02bf80a5024c98c1b330f270c29f3013d442
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
- FROM elixir:latest
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
- FROM ubuntu
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
- FROM picobox/ruby:latest
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
- # phantomjs pre-requisites
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
 
@@ -32,7 +32,7 @@ services:
32
32
  BUNDLE_PATH: "/bundle"
33
33
  hostname: picobox_test
34
34
  webpack:
35
- image: picobox/webpack_rails
35
+ build: "."
36
36
  entrypoint: ".picobox/start"
37
37
  volumes_from:
38
38
  - bundle
@@ -1,5 +1,49 @@
1
- # picobox with ruby 2.4, nodejs
1
+ # picobox for use ruby and nodejs
2
2
  #
3
3
  # VERSION 0.1.0
4
- FROM picobox/ruby:latest
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
@@ -1,6 +1,6 @@
1
1
  module Picobox
2
2
  # names for files / directories
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  HOMEPAGE = 'https://github.com/surzycki/picobox'
5
5
  CONFIG_DIR = '.picobox'
6
6
  PROJECT_INI = 'project.ini'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picobox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Surzycki