Skip to content
Snippets Groups Projects
Commit aebb46e5 authored by Alan Nelson's avatar Alan Nelson
Browse files

Add Alpine OpenSSH Client utility image

parent 929b4bbd
No related branches found
No related tags found
3 merge requests!45Develop,!37Sync Master with Develop,!36Alpine ssh client
......@@ -20,7 +20,7 @@ BUILD_ARGS := --build-arg VCS_REF=$(GIT_COMMIT)
.PHONY: all clean test $(DOCKERFILES) static-code-analysis mobile delete_dangling_images security publish
all: php-lint php-unit-test magento2 mobile static-code-analysis detect-secrets dependency-check
all: php-lint php-unit-test magento2 mobile static-code-analysis utility detect-secrets dependency-check
# Image Groups
####################
......@@ -29,6 +29,7 @@ php-unit-test: php-unit-test_5.6 php-unit-test_7.0 php-unit-test_7.1 php-unit-te
magento2: magento2-unit-test magento2-xml-lint
mobile: android-build-server
static-code-analysis: static-code-analysis_latest static-code-analysys_php static-code-analysys_python static-code-analysys_android
utility: alpine-ssh-client
# PHP Lint Images
####################
......@@ -91,6 +92,11 @@ static-code-analysys_python: static-code-analysis/Dockerfile
static-code-analysys_android: android-build-server static-code-analysis/android/Dockerfile
docker build $(BUILD_ARGS) -t ${REPO_ORG}/static-code-analysis:android static-code-analysis/android/
# Utility Images
####################
alpine-ssh-client: alpine-ssh-client/Dockerfile
docker build $(BUILD_ARGS) -t ${REPO_ORG}/alpine-ssh-client:latest alpine-ssh-client/
test: $(DOCKERFILES)
$(DOCKERFILES):
@echo "Linting and validating $(@D)..."
......
FROM alpine:latest
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Alpine OpenSSH Client" \
org.label-schema.description="Alpine image with OpenSSH client" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version="0.1.0" \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache openssh-client ca-certificates
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment