-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e33cfb6
commit 555dfb5
Showing
6 changed files
with
19 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ LABEL maintainer="[email protected]" | |
|
||
ENV LFTP_VERSION 4.8.3-r2 | ||
|
||
RUN apk add --no-cache --virtual=.build-deps bash | ||
RUN apk add --no-cache bash | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
|
@@ -23,8 +23,6 @@ RUN { \ | |
echo 'set ssl:verify-certificate no'; \ | ||
} | tee /root/.lftprc | ||
|
||
RUN apk del .build-deps | ||
|
||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | ||
|
||
WORKDIR /app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
NAME = lftp | ||
|
||
VERSIONS = 4.8 | ||
|
||
.PHONY: build | ||
build: ${VERSIONS} | ||
|
||
.PHONY: ${VERSIONS} | ||
${VERSIONS}: | ||
@echo "Build ${@}" | ||
|
||
.PHONY: lint | ||
lint: | ||
@docker run \ | ||
--rm \ | ||
--volume "$(shell pwd)":/app \ | ||
finalgene/hadolint \ | ||
${@}/Dockerfile | ||
Dockerfile | ||
|
||
.PHONY: build | ||
build: lint | ||
@docker build \ | ||
--no-cache \ | ||
--tag finalgene/${NAME}:${@}-dev \ | ||
${@}/ | ||
--tag finalgene/${NAME}:dev \ | ||
. | ||
|
||
@docker images finalgene/${NAME}:${@}-dev | ||
@docker images finalgene/${NAME}:dev | ||
|
||
.PHONY: clean | ||
clean: | ||
-@docker rmi \ | ||
--force \ | ||
$(shell docker images finalgene/${NAME}:*-dev -q) | ||
$(shell docker images finalgene/${NAME}:dev -q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.