1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 22:39:18 +01:00

Adds docker to entrypoint

This commit is contained in:
Amir Raminfar
2019-09-08 14:25:40 -07:00
parent b1feba8314
commit 153a620676
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
FROM golang:1.13-alpine
RUN apk --no-cache add git nodejs-current nodejs-npm && npm i -g npm && \
RUN apk --no-cache add git nodejs-current nodejs-npm bash bzr curl docker rpm && \
npm i -g npm && \
wget https://github.com/goreleaser/goreleaser/releases/latest/download/goreleaser_Linux_arm64.tar.gz && \
tar -xvzf goreleaser_Linux_arm64.tar.gz -C /usr/local/bin && \
rm *.gz && \

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
if [ -n "$DOCKER_USERNAME" ] && [ -n "$DOCKER_PASSWORD" ]; then
echo "Login to the docker..."