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

CON-2774 Update DOM Dockerfile #2641

Closed
wants to merge 1 commit into from

Conversation

lotoussa
Copy link
Contributor

@lotoussa lotoussa commented Jul 8, 2024

CON-2774

Why?

Update the DOM Dockerfile. This version was used in previous Discovery piscine in order to properly work, and is now push to the public official repository as it will be used for the IA Discovery Piscine.

Solution Overview

The Dockerfile content come from a copy paste of another docker file of the public repository, it has been tested already on previous Discovery Piscine and seem to work but still need a double check.

@lotoussa lotoussa added the 📦 build Build test images label Jul 8, 2024
@lotoussa lotoussa self-assigned this Jul 8, 2024
@HarryVasanth HarryVasanth changed the title CON-2774-TESTS-Dockerfile : update Dockerfile CON-2774 Update DOM Dockerfile Jul 8, 2024
Copy link
Contributor

@nprimo nprimo left a comment

Choose a reason for hiding this comment

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

@lotoussa I left just some general comments. Could you please elaborate a bit on why you want to make these changes?

Besides that, this image is also used for part of our content for the JS part of the curriculum besides the Discovery Piscine (just for your information) :)

@@ -1,6 +1,24 @@
FROM buildkite/puppeteer:7.1.0
FROM alpine:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

better to specify the version to avoid unexpected version conflicts in the future

Comment on lines +7 to +15
RUN apk add --no-cache \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates \
ttf-freefont \
nodejs \
yarn
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any specific reason for installing all these individually instead of using, for example, the docker image suggested in the official documentation?


WORKDIR /app
COPY dom .
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep in mind that his Dockerfile needs to work for our GitHub Actions :)
The command used to build the image is here

@lfoussat
Copy link
Contributor

lfoussat commented Jul 9, 2024

@lfoussat I left just some general comments. Could you please elaborate a bit on why you want to make these changes?

Besides that, this image is also used for part of our content for the JS part of the curriculum besides the Discovery Piscine (just for your information) :)

I guess you meant @lotoussa and not @lfoussat ?

@nprimo
Copy link
Contributor

nprimo commented Jul 23, 2024

@lotoussa should we close this PR? :)

@lotoussa
Copy link
Contributor Author

@nprimo hello yes i believe it's not relevant

@lotoussa lotoussa closed this Jul 23, 2024
@lotoussa lotoussa deleted the CON-2774-TESTS-Dockerfile branch July 23, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 build Build test images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants