Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Dockerfile and Makefile target to build UBI based sidecar container image #194

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

kasia-kujawa
Copy link
Contributor

example command to build image:

make build-ubi TAG=ghcr.io/kkujawa-sumo/tailing-sidecar-ubi:test VERSION=0.3.1 RELEASE_NUMBER=6

@kasia-kujawa kasia-kujawa marked this pull request as ready for review July 28, 2021 09:10
@kasia-kujawa kasia-kujawa requested a review from a team as a code owner July 28, 2021 09:10
sidecar/Makefile Outdated Show resolved Hide resolved
@kasia-kujawa kasia-kujawa force-pushed the kk-ubi-based-sidecar-image branch from fc5c3c4 to 82690f5 Compare July 28, 2021 09:22
sidecar/Makefile Outdated
Comment on lines 18 to 19
docker build --tag $(TAG) --build-arg VERSION=${VERSION} --build-arg RELEASE_NUMBER=${RELEASE_NUMBER} \
--file ${root_dir}sidecar/Dockerfile.ubi ${root_dir}sidecar/
Copy link
Contributor

Choose a reason for hiding this comment

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

Formatting nitpick for readability

Suggested change
docker build --tag $(TAG) --build-arg VERSION=${VERSION} --build-arg RELEASE_NUMBER=${RELEASE_NUMBER} \
--file ${root_dir}sidecar/Dockerfile.ubi ${root_dir}sidecar/
docker build \
--tag $(TAG) \
--build-arg VERSION=${VERSION} \
--build-arg RELEASE_NUMBER=${RELEASE_NUMBER} \
--file ${root_dir}sidecar/Dockerfile.ubi ${root_dir}sidecar/


LABEL name="Tailing Sidecar" \
maintainer="collection@sumologic.com" \
vendor="sumologic" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
vendor="sumologic" \
vendor="SumoLogic" \

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that we should write company name as "Sumo Logic". What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 might be. We'd have to change the labels in other images as well

@kasia-kujawa kasia-kujawa force-pushed the kk-ubi-based-sidecar-image branch from 82690f5 to c7ef90f Compare July 28, 2021 09:47
@kasia-kujawa kasia-kujawa force-pushed the kk-ubi-based-sidecar-image branch from c7ef90f to cdff540 Compare July 28, 2021 09:54
@kasia-kujawa kasia-kujawa merged commit a4ccc45 into release-v0.3 Jul 28, 2021
@kasia-kujawa kasia-kujawa deleted the kk-ubi-based-sidecar-image branch July 28, 2021 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants