-
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
Marek Sierociński
committed
Aug 30, 2019
0 parents
commit 444e15a
Showing
6 changed files
with
111 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# EditorConfig | ||
# | ||
# This file helps maintain consistent coding styles for multiple developers | ||
# working on the same project across various editors and IDEs | ||
# | ||
# https://EditorConfig.org | ||
# | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,2 @@ | ||
.idea/* | ||
.vscode/* |
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,44 @@ | ||
# bitbar/ubuno | ||
|
||
# based on Ubuntu 18.04 LTS | ||
FROM ubuntu:bionic | ||
|
||
LABEL vendor="Bitbar Inc" \ | ||
description="Ubuntu LTS based Docker image with Node.js" | ||
|
||
ENV TERM=xterm-256color \ | ||
PATH="$PATH:/usr/local/bin" | ||
|
||
# set timezone | ||
ENV TZ=Etc/UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
# installing apt packages | ||
RUN apt-get update | ||
RUN apt-get dist-upgrade -y | ||
RUN apt-get install -qy -o APT::Install-Recommend=false -o APT::Install-Suggests=false \ | ||
build-essential gcc \ | ||
apt-transport-https \ | ||
apt-utils \ | ||
ca-certificates \ | ||
tree \ | ||
git \ | ||
curl \ | ||
wget \ | ||
tzdata | ||
|
||
# install Node.js 10.x LTS | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh && \ | ||
bash nodesource_setup.sh && \ | ||
apt-get install nodejs -y && \ | ||
rm nodesource_setup.sh | ||
|
||
# confd | ||
ADD https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-amd64 /usr/local/bin/confd | ||
RUN chmod +x /usr/local/bin/confd | ||
|
||
# entrypoint | ||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT ["entrypoint.sh"] |
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,15 @@ | ||
ISC License | ||
|
||
Copyright (c) 2019, Bitbar Inc | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
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,27 @@ | ||
# ubuno | ||
|
||
(Ubu)ntu based Docker image with (No)de.js. | ||
|
||
## Info | ||
|
||
* Based on Ubuntu LTS (18.04) | ||
* Node.js LTS (10) | ||
* Python 2.7 (installed by Node.js installer) | ||
* [confd](https://github.com/kelseyhightower/confd) onboard | ||
* other tools: | ||
|
||
* curl | ||
* wget | ||
* git | ||
* gcc (helpful for some node packages - eg. node-gyp) | ||
* tree | ||
|
||
## Changelog | ||
|
||
* **1.0.0** | ||
|
||
* First public version | ||
|
||
## License | ||
|
||
[ISC License](LICENSE) |
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,2 @@ | ||
#!/bin/bash | ||
exec $@ |