This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
49 additions
and
13 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 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM prod.registry.devshift.net/osio-prod/base/pcp:latest | ||
LABEL maintainer "Devtools <[email protected]>" | ||
LABEL author "Devtools <[email protected]>" | ||
ENV LANG=en_US.utf8 | ||
ENV INSTALL_PREFIX=/usr/local/f8 | ||
|
||
# Create a non-root user and a group with the same name: "f8" | ||
ENV USER_NAME=f8 | ||
RUN useradd --no-create-home -s /bin/bash ${USER_NAME} | ||
|
||
COPY bin/fabric8-notification ${INSTALL_PREFIX}/bin/fabric8-notification | ||
|
||
COPY ./notification+pmcd.sh /notification+pmcd.sh | ||
EXPOSE 44321 | ||
|
||
# From here onwards, any RUN, CMD, or ENTRYPOINT will be run under the following user | ||
USER ${USER_NAME} | ||
|
||
WORKDIR ${INSTALL_PREFIX} | ||
ENTRYPOINT [ "/notification+pmcd.sh" ] | ||
|
||
EXPOSE 8080 |
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 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