Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Commit 5da7c93

Browse files
authored
Merge pull request #17 from linuxserver/pipeline
refactor application and add pipeline setup
2 parents 696a8df + 765a634 commit 5da7c93

13 files changed

+954
-37
lines changed

.github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: linuxserver
2+
open_collective: linuxserver

.github/ISSUE_TEMPLATE.md

+25-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
1-
<!--- Provide a general summary of the issue in the Title above -->
2-
31
[linuxserverurl]: https://linuxserver.io
42
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
5-
63

7-
<!--- If you have an issue with the project, please provide us with the following information -->
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+
------------------------------
89

9-
<!--- Host OS -->
10-
<!--- Command line users, your run/create command, GUI/Unraid users, a screenshot of your template settings. -->
11-
<!--- Docker log output, docker log <container-name> -->
12-
<!--- Mention if you're using symlinks on any of the volume mounts. -->
10+
## Expected Behavior
11+
<!--- Tell us what should happen -->
1312

13+
## Current Behavior
14+
<!--- Tell us what happens instead of the expected behavior -->
1415

15-
<!--- If you have a suggestion or fix for the project, please provide us with the following information -->
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.
1623

17-
<!--- What you think your suggestion brings to the project, or fixes with the project -->
18-
<!--- If it's a fix, would it be better suited as a Pull request to the repo ? -->
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 -->
1929

20-
## Thanks, team linuxserver.io
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 -->
2132

33+
## Docker logs
34+
<!--- Provide a full docker log, output of "docker logs readme-sync" -->

.github/PULL_REQUEST_TEMPLATE.md

+27-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,34 @@
66

77
<!--- Before submitting a pull request please check the following -->
88

9-
<!--- That you have made a branch in your fork, we'd rather not merge from your master -->
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/ -->
1011
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
1112
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
12-
<!--- -->
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 -->
1314

14-
## Thanks, team linuxserver.io
1515

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

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/alpine:3.8
1+
FROM lsiobase/alpine:3.12
22

33
# set version label
44
ARG BUILD_DATE
@@ -7,7 +7,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
77
LABEL maintainer="phendryx"
88

99
# copy app
10-
COPY ./ /opt/docker-readme-sync/
10+
COPY ./root /
1111

1212
RUN \
1313
echo "**** install build packages ****" && \
@@ -17,9 +17,11 @@ RUN \
1717
apk add --no-cache \
1818
nodejs && \
1919
echo "**** install readme-sync node packages *****" && \
20-
cd /opt/docker-readme-sync && \
21-
npm install && \
20+
npm config set unsafe-perm true && \
21+
npm install --prefix /opt/docker-readme-sync && \
2222
echo "**** cleanup ****" && \
23+
apk del --purge \
24+
build-dependencies && \
2325
rm -rf \
2426
/root \
2527
/tmp/* && \

Dockerfile-armhf Dockerfile.aarch64

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/alpine.armhf:3.8
1+
FROM lsiobase/alpine:arm64v8-3.12
22

33
# set version label
44
ARG BUILD_DATE
@@ -7,7 +7,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
77
LABEL maintainer="phendryx"
88

99
# copy app
10-
COPY ./ /opt/docker-readme-sync/
10+
COPY ./root /
1111

1212
RUN \
1313
echo "**** install build packages ****" && \
@@ -17,9 +17,11 @@ RUN \
1717
apk add --no-cache \
1818
nodejs && \
1919
echo "**** install readme-sync node packages *****" && \
20-
cd /opt/docker-readme-sync && \
21-
npm install && \
20+
npm config set unsafe-perm true && \
21+
npm install --prefix /opt/docker-readme-sync && \
2222
echo "**** cleanup ****" && \
23+
apk del --purge \
24+
build-dependencies && \
2325
rm -rf \
2426
/root \
2527
/tmp/* && \

Dockerfile.armhf

+31
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+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7+
LABEL maintainer="phendryx"
8+
9+
# copy app
10+
COPY ./root /
11+
12+
RUN \
13+
echo "**** install build packages ****" && \
14+
apk add --no-cache --virtual=build-dependencies \
15+
nodejs-npm && \
16+
echo "**** install runtime packages ****" && \
17+
apk add --no-cache \
18+
nodejs && \
19+
echo "**** install readme-sync node packages *****" && \
20+
npm config set unsafe-perm true && \
21+
npm install --prefix /opt/docker-readme-sync && \
22+
echo "**** cleanup ****" && \
23+
apk del --purge \
24+
build-dependencies && \
25+
rm -rf \
26+
/root \
27+
/tmp/* && \
28+
mkdir -p \
29+
/root
30+
31+
WORKDIR /opt/docker-readme-sync

0 commit comments

Comments
 (0)