Update to v1.11.3 and add tini to Dockerfile (#543)

This commit is contained in:
gabrie30 2025-07-03 09:02:21 -07:00 committed by GitHub
parent ff25dc27c0
commit 2b0f850538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View File

@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
## [1.11.3] - Unreleased
### Added
### Changed
### Deprecated
### Removed
### Fixed
- Reclone cron zombie processes; thanks @steinbrueckri
### Security
## [1.11.2] - 6/29/25
### Added
- Post exec script to reclone cmd; thanks @steinbrueckri

View File

@ -28,7 +28,7 @@ ENV GHORG_CONFIG=/config/conf.yaml
ENV GHORG_RECLONE_PATH=/config/reclone.yaml
ENV GHORG_ABSOLUTE_PATH_TO_CLONE_TO=/data
RUN apk add -U --no-cache ca-certificates openssh-client tzdata git curl \
RUN apk add -U --no-cache ca-certificates openssh-client tzdata git curl tini \
&& mkdir -p /data $XDG_CONFIG_HOME \
&& addgroup --gid $GID $GROUP \
&& adduser -D -H --gecos "" \
@ -51,5 +51,5 @@ COPY --from=build-image --chown=$USER:$GROUP /go/src/github.com/gabrie30/ghorg/g
VOLUME /data
ENTRYPOINT ["ghorg"]
ENTRYPOINT ["/sbin/tini", "--", "ghorg"]
CMD ["--help"]

View File

@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)
const ghorgVersion = "v1.11.2"
const ghorgVersion = "v1.11.3"
var versionCmd = &cobra.Command{
Use: "version",