Browse Source

release v0.1.0

Fabian Peter Hammerle 3 years ago
parent
commit
a890c27fad
2 changed files with 20 additions and 2 deletions
  1. 18 0
      CHANGELOG.md
  2. 2 2
      Makefile

+ 18 - 0
CHANGELOG.md

@@ -0,0 +1,18 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [0.1.0] - 2021-04-04
+### Added
+- openssh server listening on tcp port `2200`
+- single user `borg`
+- public keys in env var `SSH_CLIENT_PUBLIC_KEYS` and `SSH_CLIENT_PUBLIC_KEYS_APPEND_ONLY` will be authorized
+- launching borgbackup backend when ssh client connects
+- only granting access to borgbackup repository at `/repository`
+- keys in `SSH_CLIENT_PUBLIC_KEYS_APPEND_ONLY` are restricted to
+  [append-only mode](https://borgbackup.readthedocs.io/en/stable/usage/notes.html#append-only-mode)
+
+[Unreleased]: https://github.com/fphammerle/docker-borgbackup-sshd/compare/v0.1.0...master
+[0.1.0]: https://github.com/fphammerle/docker-borgbackup-sshd/tree/v0.1.0

+ 2 - 2
Makefile

@@ -2,7 +2,7 @@
 
 IMAGE_NAME = docker.io/fphammerle/borgbackup-sshd
 PROJECT_VERSION = $(shell git describe --match=v* --abbrev=0 --dirty | sed -e 's/^v//')
-BORGBACKUP_SERVER_PACKAGE_VERSION := $(shell grep -Po 'BORGBACKUP_SERVER_PACKAGE_VERSION=\K.+' Dockerfile | tr -d _-)
+BORGBACKUP_PACKAGE_VERSION := $(shell grep -Po 'BORGBACKUP_PACKAGE_VERSION=\K.+' Dockerfile | tr -d _-)
 OPENSSH_SERVER_PACKAGE_VERSION := $(shell grep -Po 'OPENSSH_SERVER_PACKAGE_VERSION=\K.+' Dockerfile | tr -d _-)
 ARCH = $(shell arch)
 # architecture[arm_variant]
@@ -12,7 +12,7 @@ IMAGE_TAG_ARCH_armv6l = armv6
 IMAGE_TAG_ARCH_armv7l = armv7
 IMAGE_TAG_ARCH_x86_64 = amd64
 IMAGE_TAG_ARCH = ${IMAGE_TAG_ARCH_${ARCH}}
-IMAGE_TAG = ${PROJECT_VERSION}-borgbackup${BORGBACKUP_SERVER_PACKAGE_VERSION}-openssh${OPENSSH_SERVER_PACKAGE_VERSION}-${IMAGE_TAG_ARCH}
+IMAGE_TAG = ${PROJECT_VERSION}-borgbackup${BORGBACKUP_PACKAGE_VERSION}-openssh${OPENSSH_SERVER_PACKAGE_VERSION}-${IMAGE_TAG_ARCH}
 BUILD_PARAMS = --tag="${IMAGE_NAME}:${IMAGE_TAG}" \
 	--build-arg=REVISION="$(shell git rev-parse HEAD)"