Skip to content

Commit

Permalink
connectors-ci: slim down Java images (#26095)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed May 16, 2023
1 parent 6374f47 commit 29bb15e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,8 @@ async def with_airbyte_java_connector(context: ConnectorContext, connector_java_
return (
base.with_workdir("/airbyte")
.with_env_variable("APPLICATION", application)
.with_directory("builts_artifacts", build_stage.directory("/airbyte"))
.with_mounted_directory("builts_artifacts", build_stage.directory("/airbyte"))
.with_exec(["sh", "-c", "mv builts_artifacts/* ."])
.with_exec(["rm", "-rf", "builts_artifacts"])
.with_label("io.airbyte.version", context.metadata["dockerImageTag"])
.with_label("io.airbyte.name", context.metadata["dockerRepository"])
.with_entrypoint(entrypoint)
Expand Down

0 comments on commit 29bb15e

Please sign in to comment.