Skip to content

Commit

Permalink
Merge pull request #1 from linuxserver/initial
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
aptalca authored Sep 21, 2020
2 parents 08f6664 + f69083a commit 5161ed8
Show file tree
Hide file tree
Showing 18 changed files with 2,050 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: linuxserver
open_collective: linuxserver
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]

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.

<!--- Provide a general summary of the issue in the Title above -->

------------------------------

## Expected Behavior
<!--- Tell us what should happen -->

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

## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Environment
**OS:**
**CPU architecture:** x86_64/arm32/arm64
**How docker service was installed:**
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Command used to create docker container (run/create/compose/screenshot)
<!--- Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container -->

## Docker logs
<!--- Provide a full docker log, output of "docker logs rsnapshot" -->
39 changes: 39 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--- Provide a general summary of your changes in the Title above -->

[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]


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

<!--- 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 -->
<!--- 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/ -->
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
<!--- 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 -->


<!--- Coding guidelines: -->
<!--- 1. Installed packages in the Dockerfiles should be in alphabetical order -->
<!--- 2. Changes to Dockerfile should be replicated in Dockerfile.armhf and Dockerfile.aarch64 if applicable -->
<!--- 3. Indentation style (tabs vs 4 spaces vs 1 space) should match the rest of the document -->
<!--- 4. Readme is auto generated from readme-vars.yml, make your changes there -->

------------------------------

We welcome all PR’s though this doesn’t guarantee it will be accepted.

## Description:
<!--- Describe your changes in detail -->

## Benefits of this PR and context:
<!--- Please explain why we should accept this PR. If this fixes an outstanding bug, please reference the issue # -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->


## Source / References:
<!--- Please include any forum posts/github links relevant to the PR -->
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [issue template](https://github.com/linuxserver/docker-rsnapshot/.github/ISSUE_TEMPLATE.md)!'
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-rsnapshot/.github/PULL_REQUEST_TEMPLATE.md)!'
repo-token: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "30 1 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 30
days-before-close: 365
exempt-issue-labels: 'awaiting-approval,work-in-progress'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
repo-token: ${{ secrets.GITHUB_TOKEN }}
43 changes: 43 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
FROM lsiobase/alpine:3.12

# set version label
ARG BUILD_DATE
ARG VERSION
ARG RSNAPSHOT_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="nemchik"

# packages as variables
ARG BUILD_PACKAGES=""

ARG RUNTIME_PACKAGES="\
openssh \
rsnapshot \
rsync"

RUN \
if [ -n "${BUILD_PACKAGES}" ]; then \
echo "**** install build packages ****" && \
apk add --no-cache \
--virtual=build-dependencies \
$BUILD_PACKAGES; \
fi && \
if [ -n "${RUNTIME_PACKAGES}" ]; then \
echo "**** install runtime packages ****" && \
apk add --no-cache \
$RUNTIME_PACKAGES; \
fi && \
echo "**** cleanup ****" && \
if [ -n "${BUILD_PACKAGES}" ]; then \
apk del --purge \
build-dependencies; \
fi && \
rm -rf \
/root/.cache \
/tmp/*

# copy local files
COPY root/ /

# ports and volumes
VOLUME /config
43 changes: 43 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
FROM lsiobase/alpine:arm64v8-3.12

# set version label
ARG BUILD_DATE
ARG VERSION
ARG RSNAPSHOT_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="nemchik"

# packages as variables
ARG BUILD_PACKAGES=""

ARG RUNTIME_PACKAGES="\
openssh \
rsnapshot \
rsync"

RUN \
if [ -n "${BUILD_PACKAGES}" ]; then \
echo "**** install build packages ****" && \
apk add --no-cache \
--virtual=build-dependencies \
$BUILD_PACKAGES; \
fi && \
if [ -n "${RUNTIME_PACKAGES}" ]; then \
echo "**** install runtime packages ****" && \
apk add --no-cache \
$RUNTIME_PACKAGES; \
fi && \
echo "**** cleanup ****" && \
if [ -n "${BUILD_PACKAGES}" ]; then \
apk del --purge \
build-dependencies; \
fi && \
rm -rf \
/root/.cache \
/tmp/*

# copy local files
COPY root/ /

# ports and volumes
VOLUME /config
43 changes: 43 additions & 0 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
FROM lsiobase/alpine:arm32v7-3.12

# set version label
ARG BUILD_DATE
ARG VERSION
ARG RSNAPSHOT_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="nemchik"

# packages as variables
ARG BUILD_PACKAGES=""

ARG RUNTIME_PACKAGES="\
openssh \
rsnapshot \
rsync"

RUN \
if [ -n "${BUILD_PACKAGES}" ]; then \
echo "**** install build packages ****" && \
apk add --no-cache \
--virtual=build-dependencies \
$BUILD_PACKAGES; \
fi && \
if [ -n "${RUNTIME_PACKAGES}" ]; then \
echo "**** install runtime packages ****" && \
apk add --no-cache \
$RUNTIME_PACKAGES; \
fi && \
echo "**** cleanup ****" && \
if [ -n "${BUILD_PACKAGES}" ]; then \
apk del --purge \
build-dependencies; \
fi && \
rm -rf \
/root/.cache \
/tmp/*

# copy local files
COPY root/ /

# ports and volumes
VOLUME /config
Loading

0 comments on commit 5161ed8

Please sign in to comment.