mirror of
https://github.com/imtbl/hydrus-server-docker
synced 2024-06-11 15:14:51 +12:00
feat: Reduce image size
This commit is contained in:
parent
194b7064ec
commit
ceba00c61a
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
+ Updated hydrus server version
|
+ Updated hydrus server version
|
||||||
|
+ Reduced image size
|
||||||
|
|
||||||
## [1.1.0] - 2018-12-02
|
## [1.1.0] - 2018-12-02
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,8 @@ RUN apt-get update && \
|
||||||
rm $(ls | grep "Linux.-.Executable.tar.gz") && \
|
rm $(ls | grep "Linux.-.Executable.tar.gz") && \
|
||||||
chown -R hydrus:hydrus /usr/src/app && \
|
chown -R hydrus:hydrus /usr/src/app && \
|
||||||
mkdir /data && chown -R hydrus:hydrus /data && \
|
mkdir /data && chown -R hydrus:hydrus /data && \
|
||||||
apt-get remove ca-certificates curl wget -y
|
apt-get remove ca-certificates curl wget -y && \
|
||||||
|
apt-get autoremove -y
|
||||||
|
|
||||||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
|
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint
|
RUN chmod +x /usr/local/bin/docker-entrypoint
|
||||||
|
|
Loading…
Reference in a new issue