-
-
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.
Fix attributes handling and content type (#31)
- Loading branch information
Showing
3 changed files
with
9 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ MAINTAINER CZERTAINLY <[email protected]> | |
# add non root user czertainly | ||
RUN addgroup --system --gid 10001 czertainly && adduser --system --home /opt/czertainly --uid 10001 --ingroup czertainly czertainly | ||
|
||
RUN mkdir ~/.ssh && touch ~/.ssh/known_hosts | ||
|
||
COPY --from=build /home/app/docker / | ||
COPY --from=build /home/app/target/*.jar /opt/czertainly/app.jar | ||
|
||
WORKDIR /opt/czertainly | ||
# this should be improved, user should defined known_hosts and it will be read-only | ||
RUN mkdir .ssh && touch .ssh/known_hosts && chown czertainly: .ssh/known_hosts && chmod 600 .ssh/known_hosts | ||
|
||
ENV JDBC_URL= | ||
ENV JDBC_USERNAME= | ||
|
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