mirror of
https://github.com/N0rthernL1ghts/bbk-docker.git
synced 2024-11-23 12:31:09 +01:00
Initial commit
This commit is contained in:
parent
1e3dc9cb2d
commit
fda4e4c019
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
@ -0,0 +1,24 @@
|
|||
ARG BBKCLI_VERSION=1.0
|
||||
FROM scratch AS bbkcli
|
||||
|
||||
# See: http://www.bredbandskollen.se/bredbandskollen-cli/
|
||||
ARG BBKCLI_VERSION
|
||||
ADD ["https://frontend.bredbandskollen.se/download/bbk_cli_linux_amd64-${BBKCLI_VERSION}", "/bbk_cli"]
|
||||
|
||||
|
||||
|
||||
# Main image
|
||||
FROM alpine:3.16
|
||||
|
||||
LABEL net.northern-lights.image.authors="aleksandar@puharic.com"
|
||||
LABEL net.northern-lights.image.version="${BBKCLI_VERSION}"
|
||||
LABEL net.northern-lights.image.licenses="GPL-2.0+"
|
||||
|
||||
RUN apk add --update --no-cache gcompat libstdc++ tzdata \
|
||||
&& ln -sf /usr/local/bin/bbk_cli /usr/local/bin/bbk
|
||||
|
||||
COPY --from=bbkcli --chmod=0775 ["/bbk_cli", "/usr/local/bin/"]
|
||||
|
||||
ARG BBKCLI_VERSION
|
||||
ENV BBKCLI_VERSION=${BBKCLI_VERSION}
|
||||
ENV TZ=Europe/Stockholm
|
Loading…
Reference in New Issue
Block a user