File tree Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ tar xvzf dist.tgz
12
12
if [ " $( uname) " == Linux ]; then
13
13
mkdir -p tmp
14
14
cp " $( pwd) /../tmp/expansions.yaml" tmp/expansions.yaml
15
- (cd scripts/docker && docker build -t centos7 -package -f centos7 -package.Dockerfile .)
15
+ (cd scripts/docker && docker build -t rocky8 -package -f rocky8 -package.Dockerfile .)
16
16
echo Starting Docker container packaging
17
17
docker run -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD \
18
18
-e EVERGREEN_EXPANSIONS_PATH=/tmp/build/tmp/expansions.yaml \
19
19
-e NODE_JS_VERSION \
20
20
-e DISTRIBUTION_BUILD_VARIANT \
21
21
-e ARTIFACT_URL_FILE=" /tmp/build/artifact-url.txt" \
22
- --rm -v $PWD :/tmp/build --network host centos7 -package \
22
+ --rm -v $PWD :/tmp/build --network host rocky8 -package \
23
23
-c ' cd /tmp/build && npm run evergreen-release package && npm run evergreen-release upload'
24
24
else
25
25
if [[ " $OS " == " Windows_NT" && " $DISTRIBUTION_BUILD_VARIANT " == " win32msi-x64" ]]; then
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ FROM rockylinux:8
2
+
3
+ RUN dnf repolist
4
+ RUN dnf -y install 'dnf-command(config-manager)'
5
+ RUN dnf config-manager --set-enabled powertools
6
+ RUN dnf -y install epel-release
7
+ RUN dnf -y install python3 rpm-build dpkg-devel dpkg-dev git
8
+
9
+ # Add Node.js
10
+ RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash -
11
+ RUN dnf install -y nodejs
12
+
13
+ ENTRYPOINT [ "bash" ]
You can’t perform that action at this time.
0 commit comments