Commit 03be991 1 parent 3aa1e98 commit 03be991 Copy full SHA for 03be991
File tree 4 files changed +120
-1
lines changed
4 files changed +120
-1
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
2
+
3
+ language : python
4
+
5
+ services :
6
+ - docker
7
+
8
+ env :
9
+ global :
10
+ # These are for pushing to DockerHub
11
+ - DOCKER_REPO="clouder/clouder-base"
12
+ - DOCKER_USER="clouder-bot"
13
+ - DOCKER_TAG="alpine"
14
+ # Generate this per repo with the following:
15
+ # travis encrypt '$DOCKER_PASS="$DOCKER_PASS"'-r LasLabs/repo-name
16
+ - secure : " $DOCKER_PASS_TOKEN"
17
+ - PROD_BRANCH="alpine"
18
+ - DAEMONIZE="1"
19
+
20
+ matrix :
21
+ - TESTS="1"
22
+ - LINT_CHECK="1"
23
+ - HUB="1"
24
+
25
+ install :
26
+ - git clone --depth=1 https://github.com/LasLabs/docker-quality-tools.git -b release/0.1 ${HOME}/docker-quality-tools
27
+ - export PATH=${HOME}/docker-quality-tools/travis:${PATH}
28
+ - travis_install
29
+
30
+ script :
31
+ - travis_run
32
+
33
+ after_success :
34
+ - travis_after_success
Original file line number Diff line number Diff line change 1
- FROM alpine:latest
1
+ FROM alpine:3.5
2
2
MAINTAINER Yannick Buron yburon@goclouder.net
3
3
4
4
RUN apk add --update ssmtp wget curl rsync bash
5
5
6
+ COPY ./docker-entrypoint.sh /docker-entrypoint.sh
7
+
8
+ ENTRYPOINT ['/docker-entrypoint.sh' ]
9
+ CMD ['cat' ]
10
+
6
11
# generate a locale and ensure it on system users
7
12
# RUN locale-gen en_US.UTF-8 && update-locale && echo 'LANG="en_US.UTF-8"' > /etc/default/locale
8
13
# ENV LANG en_US.UTF-8
Original file line number Diff line number Diff line change
1
+ [ ![ License: MIT] ( https://img.shields.io/badge/licence-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
2
+ [ ![ Build Status] ( https://travis-ci.org/clouder-images/clouder-base.svg?branch=master )] ( https://travis-ci.org/LasLabs/docker-repo )
3
+
4
+ Clouder Base Image
5
+ ==================
6
+
7
+ This image provides the base for all Clouder images to inherit, if possible.
8
+
9
+ In the event that an image cannot inherit from this, the following assets are
10
+ assumed to exist and must be provided:
11
+
12
+ *
13
+
14
+ Build Arguments
15
+ ===============
16
+
17
+ The following build arguments are available for customization:
18
+
19
+
20
+ | Name | Default | Description |
21
+ | ------| ---------| -------------|
22
+
23
+
24
+ Environment Variables
25
+ =====================
26
+
27
+ The following environment variables are available for your configuration
28
+ pleasure:
29
+
30
+ | Name | Default | Description |
31
+ | ------| ---------| -------------|
32
+
33
+
34
+ Known Issues / Roadmap
35
+ ======================
36
+
37
+ *
38
+
39
+ Bug Tracker
40
+ ===========
41
+
42
+ Bugs are tracked on [ GitHub Issues] ( https://github.com/clouder-images/clouder-base/issues ) .
43
+ In case of trouble, please check there to see if your issue has already been reported.
44
+ If you spotted it first, help us smash it by providing detailed and welcomed feedback.
45
+
46
+ Credits
47
+ =======
48
+
49
+ Contributors
50
+ ------------
51
+
52
+ * Yannick Buron < yburon@goclouder.net >
53
+ * Dave Lasley < dave@laslabs.com >
54
+
55
+ Maintainer
56
+ ----------
57
+
58
+ [ ![ Clouder SASU] ( https://goclouder.net/logo.png )] ( https://goclouder.net )
59
+
60
+ This module is maintained in cooperation by:
61
+
62
+ * [ Clouder SASU] ( https://goclouder.net )
63
+ * [ LasLabs Inc.] ( https://laslabs.com )
64
+
65
+ * https://github.com/clouder-images/clouder-base
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ # Copyright 2017 LasLabs Inc.
3
+ # License MIT (https://opensource.org/licenses/MIT).
4
+
5
+ set -e
6
+
7
+ # Add command if needed
8
+ if [ " ${1: 0: 1} " = ' -' ]; then
9
+ set -- my_command " $@ "
10
+ fi
11
+
12
+ # As argument is not related to command,
13
+ # then assume that user wants to run their own process,
14
+ # for example a `bash` shell to explore this image
15
+ exec " $@ "
You can’t perform that action at this time.
0 commit comments