/
Dockerfile
40 lines (34 loc) · 1.18 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#######################################################################
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License v2.0 which
# accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-v20.html
#
# SPDX-License-Identifier: EPL-2.0
#
# Copyright Contributors to the Zowe Project.
#######################################################################
# base image tag
ARG ZOWE_BASE_IMAGE=latest-ubuntu
FROM zowe-docker-release.jfrog.io/ompzowe/base-jdk:${ZOWE_BASE_IMAGE} AS builder
##################################
# labels
LABEL name="Caching Service" \
maintainer="carson.cook@ibm.com" \
vendor="Zowe" \
version="0.0.0" \
release="0" \
summary="API Mediation Layer Caching Service" \
description="Caching service to cache state of Zowe components."
##################################
# switch context
USER zowe
WORKDIR /component
##################################
# copy files
COPY --chown=zowe:zowe component .
COPY --chown=zowe:zowe component/LICENSE /licenses
##################################
# start command
EXPOSE 7555
ENTRYPOINT [ "bin/start.sh" ]