Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 1d3f289

Browse files
committed
initial version with basic discord bot
0 parents  commit 1d3f289

File tree

19 files changed

+2202
-0
lines changed

19 files changed

+2202
-0
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: linuxserver
2+
open_collective: linuxserver

.github/ISSUE_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[linuxserverurl]: https://linuxserver.io
2+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
3+
4+
If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support.
5+
6+
<!--- Provide a general summary of the issue in the Title above -->
7+
8+
------------------------------
9+
10+
## Expected Behavior
11+
<!--- Tell us what should happen -->
12+
13+
## Current Behavior
14+
<!--- Tell us what happens instead of the expected behavior -->
15+
16+
## Steps to Reproduce
17+
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
18+
<!--- reproduce this bug. Include code to reproduce, if relevant -->
19+
1.
20+
2.
21+
3.
22+
4.
23+
24+
## Environment
25+
**OS:**
26+
**CPU architecture:** x86_64/arm32/arm64
27+
**How docker service was installed:**
28+
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
29+
30+
## Command used to create docker container (run/create/compose/screenshot)
31+
<!--- Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container -->
32+
33+
## Docker logs
34+
<!--- Provide a full docker log, output of "docker logs gmail-order-bot" -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!--- Provide a general summary of your changes in the Title above -->
2+
3+
[linuxserverurl]: https://linuxserver.io
4+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
5+
6+
7+
<!--- Before submitting a pull request please check the following -->
8+
9+
<!--- If this is a fix for a typo in code or documentation in the README please file an issue and let us sort it out we do not need a PR -->
10+
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
11+
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
12+
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
13+
<!--- We maintain a changelog of major revisions to the container at the end of readme-vars.yml in the root of this repository, please add your changes there if appropriate -->
14+
15+
16+
<!--- Coding guidelines: -->
17+
<!--- 1. Installed packages in the Dockerfiles should be in alphabetical order -->
18+
<!--- 2. Changes to Dockerfile should be replicated in Dockerfile.armhf and Dockerfile.aarch64 if applicable -->
19+
<!--- 3. Indentation style (tabs vs 4 spaces vs 1 space) should match the rest of the document -->
20+
<!--- 4. Readme is auto generated from readme-vars.yml, make your changes there -->
21+
22+
------------------------------
23+
24+
We welcome all PR’s though this doesn’t guarantee it will be accepted.
25+
26+
## Description:
27+
<!--- Describe your changes in detail -->
28+
29+
## Benefits of this PR and context:
30+
<!--- Please explain why we should accept this PR. If this fixes an outstanding bug, please reference the issue # -->
31+
32+
## How Has This Been Tested?
33+
<!--- Please describe in detail how you tested your changes. -->
34+
<!--- Include details of your testing environment, and the tests you ran to -->
35+
<!--- see how your change affects other areas of the code, etc. -->
36+
37+
38+
## Source / References:
39+
<!--- Please include any forum posts/github links relevant to the PR -->

Dockerfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM lsiobase/alpine:3.12
2+
3+
# set version label
4+
ARG BUILD_DATE
5+
ARG VERSION
6+
ARG BOT_VERSION
7+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8+
LABEL maintainer="thelamer"
9+
10+
# env
11+
ENV npm_config_cache=/tmp
12+
13+
# add local files
14+
COPY root/ /
15+
16+
RUN \
17+
echo "**** install runtime packages ****" && \
18+
apk add --no-cache \
19+
nodejs \
20+
nodejs-npm && \
21+
npm config set unsafe-perm true && \
22+
npm install --prefix /app/gmail && \
23+
echo "**** cleanup ****" && \
24+
rm -rf \
25+
/root \
26+
/tmp/* && \
27+
mkdir -p \
28+
/root
29+
30+
# volumes
31+
VOLUME /config

Dockerfile.aarch64

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM lsiobase/alpine:arm64v8-3.12
2+
3+
# set version label
4+
ARG BUILD_DATE
5+
ARG VERSION
6+
ARG BOT_VERSION
7+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8+
LABEL maintainer="thelamer"
9+
10+
# env
11+
ENV npm_config_cache=/tmp
12+
13+
# add local files
14+
COPY root/ /
15+
16+
RUN \
17+
echo "**** install runtime packages ****" && \
18+
apk add --no-cache \
19+
nodejs \
20+
nodejs-npm && \
21+
npm config set unsafe-perm true && \
22+
npm install --prefix /app/gmail && \
23+
echo "**** cleanup ****" && \
24+
rm -rf \
25+
/root \
26+
/tmp/* && \
27+
mkdir -p \
28+
/root
29+
30+
# volumes
31+
VOLUME /config

Dockerfile.armhf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM lsiobase/alpine:arm32v7-3.12
2+
3+
# set version label
4+
ARG BUILD_DATE
5+
ARG VERSION
6+
ARG BOT_VERSION
7+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8+
LABEL maintainer="thelamer"
9+
10+
# env
11+
ENV npm_config_cache=/tmp
12+
13+
# add local files
14+
COPY root/ /
15+
16+
RUN \
17+
echo "**** install runtime packages ****" && \
18+
apk add --no-cache \
19+
nodejs \
20+
nodejs-npm && \
21+
npm config set unsafe-perm true && \
22+
npm install --prefix /app/gmail && \
23+
echo "**** cleanup ****" && \
24+
rm -rf \
25+
/root \
26+
/tmp/* && \
27+
mkdir -p \
28+
/root
29+
30+
# volumes
31+
VOLUME /config

0 commit comments

Comments
 (0)