Skip to content

Commit 3236071

Browse files
committed
perf: update base image
1 parent 0c77c72 commit 3236071

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-static-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'pr*'
7+
- 'osm'
78
paths:
89
- 'versions.txt'
910
- 'prepare.sh'

Dockerfile-static

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ARG TARGETARCH
33

44
WORKDIR /tmp
55
COPY . .
6+
67
RUN set -ex \
78
&& apk add --no-cache bash \
89
&& bash ./prepare.sh

prepare.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,9 @@ for arch in x64 arm64; do
4646
wget https://downloads.mongodb.com/compass/mongosh-${MONGOSH_VERSION}-linux-${arch}.tgz
4747
done
4848

49+
for i in $(ls JumpServer*);do
50+
to=${i/JumpServer/}
51+
ln -s ${i} ${to}
52+
done
53+
4954
cp "${PROJECT_DIR}"/versions.txt ${DOWNLOAD_DIR}

0 commit comments

Comments
 (0)