Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Improve docker images #124

Merged
merged 4 commits into from
Mar 1, 2021

Conversation

lukaszstolarczuk
Copy link
Member

@lukaszstolarczuk lukaszstolarczuk commented Feb 10, 2021

note: If you got better idea/approach for the last commit, please let me know.
I believe, though, proxy settings are enough for now, we rather don't use more than that, aren't we?


This change is Reviewable

Copy link
Contributor

@KFilipek KFilipek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @lukaszstolarczuk)

Copy link

@karczex karczex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 4 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukaszstolarczuk)


utils/docker/images/Dockerfile.ubuntu-20.04, line 75 at r1 (raw file):

# Setup maven settings
COPY setup-maven-settings.sh setup-maven-settings.sh
RUN ./setup-maven-settings.sh

Proxy configuration should be rather set at image startup (entrypoint).

@lukaszstolarczuk lukaszstolarczuk force-pushed the improve-docker-images branch 2 times, most recently from 341c6ec to e93cadd Compare February 26, 2021 16:15
@lukaszstolarczuk lukaszstolarczuk added this to the 1.0.1 milestone Feb 26, 2021
Copy link
Member Author

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 6 files reviewed, 1 unresolved discussion (waiting on @karczex and @KFilipek)


utils/docker/images/Dockerfile.ubuntu-20.04, line 75 at r1 (raw file):

Previously, karczex (Paweł Karczewski) wrote…

Proxy configuration should be rather set at image startup (entrypoint).

Done.

These settings are based on http_proxy/https_proxy variables given as
docker build_arg(s). A build_arg's format should be e.g., as follows:
--build-arg http[s]_proxy=http://<server>.<domain>:<port_addr>

setup-maven-settings.sh is also set to run within user's .bashrc, for
containers runtime setup.
Copy link
Contributor

@igchor igchor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 6 files at r2.
Reviewable status: 1 of 6 files reviewed, 1 unresolved discussion (waiting on @karczex and @KFilipek)

Copy link
Contributor

@KFilipek KFilipek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 6 of 6 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @karczex)

@igchor igchor merged commit acd56d4 into pmem:stable-1.0 Mar 1, 2021
@lukaszstolarczuk lukaszstolarczuk deleted the improve-docker-images branch March 1, 2021 10:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants