-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbeaver/dbeaver devops#1201 base java image (#2642)
* dbeaver/dbeaver-devops#1201 Base Java image * dbeaver/dbeaver-devops#1201 Fix scripts * dbeaver/dbeaver-devops#1201 hilevel default env var --------- Co-authored-by: mayerro <[email protected]>
- Loading branch information
1 parent
eaf19cf
commit 7cd22a8
Showing
4 changed files
with
14 additions
and
9 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 |
---|---|---|
|
@@ -2,9 +2,11 @@ FROM ubuntu:23.10 | |
|
||
MAINTAINER DBeaver Corp, [email protected] | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
apt-get install -y --no-install-recommends \ | ||
# curl required for historical reasons, see https://github.com/adoptium/containers/issues/255 | ||
curl \ | ||
wget \ | ||
|
@@ -43,10 +45,3 @@ RUN set -eux; \ | |
|
||
### Patch java security | ||
COPY java.security* ${JAVA_HOME}/conf/security/java.security | ||
|
||
COPY cloudbeaver /opt/cloudbeaver | ||
|
||
EXPOSE 8978 | ||
RUN find /opt/cloudbeaver -type d -exec chmod 775 {} \; | ||
WORKDIR /opt/cloudbeaver/ | ||
ENTRYPOINT ["./run-server.sh"] |
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,10 @@ | ||
FROM dbeaver/base-java | ||
|
||
MAINTAINER DBeaver Corp, [email protected] | ||
|
||
COPY cloudbeaver /opt/cloudbeaver | ||
|
||
EXPOSE 8978 | ||
RUN find /opt/cloudbeaver -type d -exec chmod 775 {} \; | ||
WORKDIR /opt/cloudbeaver/ | ||
ENTRYPOINT ["./run-server.sh"] |
File renamed without changes.
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,3 +1,3 @@ | ||
cd .. | ||
docker build -t dbeaver/cloudbeaver:dev . --file ./docker/Dockerfile | ||
docker build -t dbeaver/cloudbeaver:dev . --file ./docker/cloudbeaver-ce/Dockerfile | ||
|