mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-06 19:19:24 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
c54cf5a456
|
@ -7,7 +7,8 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apk add make git && make build VERSION=$VERSION
|
RUN apk add make git upx && make build VERSION=$VERSION \
|
||||||
|
&& upx --best --lzma whatismyip
|
||||||
|
|
||||||
# Build final image
|
# Build final image
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
@ -138,7 +138,7 @@ Download the latest version from https://github.com/dcarrillo/whatismyip/release
|
|||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
An ultra-light (~12MB) image is available at [docker hub](https://hub.docker.com/r/dcarrillo/whatismyip).
|
An ultra-light (~4MB) image is available on [docker hub](https://hub.docker.com/r/dcarrillo/whatismyip). Since version `2.1.2`, the binary is compressed using [upx](https://github.com/upx/upx).
|
||||||
|
|
||||||
### Run a container locally using test databases
|
### Run a container locally using test databases
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user