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

[TAL-696] Customize Dockerfile #1

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

chingkt
Copy link

@chingkt chingkt commented Jan 5, 2024

The image is pushed to this repository: https://hub.docker.com/repository/docker/heyjobs/ecs-deploy-multiple-images/general

This PR is related to https://github.com/heyjobs/jobseeker-portal/pull/4030

This PR adds some customizations to the Dockerfile:

  1. specify platform to amd64, otherwise the default arch would be arm64, which is not supported by the current circleci host.
  2. Due to this error, we use alpine 3.15 instead of the latest minor version. Starting from 3.16, there has been a dependency issue against glibc with versions lower than 2.35-r0: ERROR: glibc-2.35-r0: trying to overwrite etc/nsswitch.conf owned by alpine-baselayout-data-3.3.0-r2. sgerrand/alpine-pkg-glibc#185. Our circleci aws-cli orb still uses 2.34, so until they resolve this issue, we might want to stay with 3.15 if we don't want to spend too much time on it.
  3. install bash, as aws-cli orb uses feature from bash

@chingkt chingkt self-assigned this Jan 5, 2024
@chingkt chingkt changed the title specify amd64 as circleci host is amd instead of arm, and use alpine3… [TAL-696] Customize Dockerfile Jan 5, 2024
@chingkt chingkt merged commit f3059bb into develop Jan 11, 2024
@carlossless carlossless deleted the customise-dockerfile-according-to-heyjobs-needs branch January 12, 2024 15:44
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