Skip to content

Commit

Permalink
HIVE-26450: Use a more lightweight Oracle image (#3502) (Laszlo Bodor…
Browse files Browse the repository at this point in the history
… reviewed by Stamatis Zampetakis)
  • Loading branch information
abstractdog committed Aug 5, 2022
1 parent 2aaba3c commit 470d6bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ public String getJdbcDriver() {

@Override
protected String getDockerImageName() {
return "pvargacl/oracle-xe-18.4.0";
return "abstractdog/oracle-xe:18.4.0-slim";
}

@Override
protected String[] getDockerAdditionalArgs() {
return new String[] { "-p", "1521:1521", "-d" };
return new String[] { "-p", "1521:1521", "-d", "-e", "ORACLE_PASSWORD=" + getRootPassword() };
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ public class Oracle extends DatabaseRule {

@Override
public String getDockerImageName() {
return "pvargacl/oracle-xe-18.4.0";
return "abstractdog/oracle-xe:18.4.0-slim";
}

@Override
public String[] getDockerAdditionalArgs() {
return buildArray(
"-p",
"1521:1521",
"-d"
"-d",
"-e",
"ORACLE_PASSWORD=" + getDbRootPassword()
);
}

Expand Down

0 comments on commit 470d6bc

Please sign in to comment.