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

Stop using ENV ARCH and add --platform in Dockerfile #2304

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

ykadowak
Copy link
Contributor

@ykadowak ykadowak commented Jan 23, 2024

Description:

The ENV ARCH was unnecessary, and the definition of unnecessary environment variables can have side effects, so removed them. Additionally, added the --platform option to Dockerfiles that were missing it.

Related Issue:

Versions:

  • Go Version: 1.21.5
  • Docker Version: 20.10.8
  • Kubernetes Version: v1.28.4
  • NGT Version: 2.1.6

Checklist:

Special notes for your reviewer:

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

Copy link

cloudflare-pages bot commented Jan 23, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 085f31e
Status: ✅  Deploy successful!
Preview URL: https://0d961bb3.vald.pages.dev
Branch Preview URL: https://feature-dockerfile-no-use-en.vald.pages.dev

View logs

@ykadowak ykadowak changed the title Stop using ENV ARCH in Dockerfile Stop using ENV ARCH and add --platform in Dockerfile Jan 23, 2024
@ykadowak ykadowak requested review from vankichi, a team and kpango and removed request for a team January 23, 2024 05:46
@ykadowak ykadowak marked this pull request as ready for review January 23, 2024 05:46
Copy link
Contributor

@vankichi vankichi left a comment

Choose a reason for hiding this comment

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

LGTM
Thx :)

Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

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

LGTM

@ykadowak ykadowak merged commit 07570a1 into main Jan 23, 2024
118 of 119 checks passed
@ykadowak ykadowak deleted the feature/dockerfile/no-use-env-arch branch January 23, 2024 05:49
This was referenced Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants