Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.4.0

* Always specify the config file in the command and always run as gemstash user.

## 1.3.0

* Add `GEMSTASH_PROTECTED_FETCH` configuration option to enable protected
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk --update add \
su-exec \
tini && \
gem update --system && \
gem update bundler && \
gem install bundler:1.17.2 && \
Comment thread
itskingori marked this conversation as resolved.
rm -rf /var/cache/apk/*

# Create gemstash user
Expand All @@ -27,6 +27,6 @@ RUN bundle install --jobs 4 --retry 3
VOLUME "${GEMSTASH_HOME}/data"

EXPOSE 9292
Comment thread
zacblazic marked this conversation as resolved.
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bundle", "exec", "gemstash", "start", "--no-daemonize"]
USER ${GEMSTASH_USER}:${GEMSTASH_USER}
ENTRYPOINT ["tini", "--"]
CMD ["bundle", "exec", "gemstash", "start", "--no-daemonize", "--config-file=config.yml.erb"]
Comment thread
itskingori marked this conversation as resolved.
17 changes: 0 additions & 17 deletions entrypoint.sh

This file was deleted.