mirror of
https://github.com/gabrie30/ghorg.git
synced 2025-08-06 22:37:21 +02:00
Update to v1.11.3 and add tini to Dockerfile (#543)
This commit is contained in:
parent
ff25dc27c0
commit
2b0f850538
@ -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/)
|
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
|
## [1.11.2] - 6/29/25
|
||||||
### Added
|
### Added
|
||||||
- Post exec script to reclone cmd; thanks @steinbrueckri
|
- Post exec script to reclone cmd; thanks @steinbrueckri
|
||||||
|
@ -28,7 +28,7 @@ ENV GHORG_CONFIG=/config/conf.yaml
|
|||||||
ENV GHORG_RECLONE_PATH=/config/reclone.yaml
|
ENV GHORG_RECLONE_PATH=/config/reclone.yaml
|
||||||
ENV GHORG_ABSOLUTE_PATH_TO_CLONE_TO=/data
|
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 \
|
&& mkdir -p /data $XDG_CONFIG_HOME \
|
||||||
&& addgroup --gid $GID $GROUP \
|
&& addgroup --gid $GID $GROUP \
|
||||||
&& adduser -D -H --gecos "" \
|
&& adduser -D -H --gecos "" \
|
||||||
@ -51,5 +51,5 @@ COPY --from=build-image --chown=$USER:$GROUP /go/src/github.com/gabrie30/ghorg/g
|
|||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
ENTRYPOINT ["ghorg"]
|
ENTRYPOINT ["/sbin/tini", "--", "ghorg"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ghorgVersion = "v1.11.2"
|
const ghorgVersion = "v1.11.3"
|
||||||
|
|
||||||
var versionCmd = &cobra.Command{
|
var versionCmd = &cobra.Command{
|
||||||
Use: "version",
|
Use: "version",
|
||||||
|
Loading…
Reference in New Issue
Block a user