Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .evergreen/package-and-upload-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ tar xvzf dist.tgz
if [ "$(uname)" == Linux ]; then
mkdir -p tmp
cp "$(pwd)/../tmp/expansions.yaml" tmp/expansions.yaml
(cd scripts/docker && docker build -t centos7-package -f centos7-package.Dockerfile .)
(cd scripts/docker && docker build -t rocky8-package -f rocky8-package.Dockerfile .)
echo Starting Docker container packaging
docker run -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD \
-e EVERGREEN_EXPANSIONS_PATH=/tmp/build/tmp/expansions.yaml \
-e NODE_JS_VERSION \
-e DISTRIBUTION_BUILD_VARIANT \
-e ARTIFACT_URL_FILE="/tmp/build/artifact-url.txt" \
--rm -v $PWD:/tmp/build --network host centos7-package \
--rm -v $PWD:/tmp/build --network host rocky8-package \
-c 'cd /tmp/build && npm run evergreen-release package && npm run evergreen-release upload'
else
if [[ "$OS" == "Windows_NT" && "$DISTRIBUTION_BUILD_VARIANT" == "win32msi-x64" ]]; then
Expand Down
15 changes: 0 additions & 15 deletions scripts/docker/centos7-package.Dockerfile

This file was deleted.

13 changes: 13 additions & 0 deletions scripts/docker/rocky8-package.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM rockylinux:8

RUN dnf repolist
RUN dnf -y install 'dnf-command(config-manager)'
RUN dnf config-manager --set-enabled powertools
RUN dnf -y install epel-release
RUN dnf -y install python3 rpm-build dpkg-devel dpkg-dev git

# Add Node.js
RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash -
RUN dnf install -y nodejs

ENTRYPOINT [ "bash" ]