Skip to content

Commit a7477ba

Browse files
1gtmtamalsaha
andauthored
[cherry-pick] Update update-release-tracker.sh (#55)
/cherry-pick Signed-off-by: Tamal Saha <tamal@appscode.com> Co-authored-by: Tamal Saha <tamal@appscode.com>
1 parent 98c4094 commit a7477ba

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile.dbg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ FROM {ARG_FROM}
3636
RUN set -x \
3737
&& apk add --update --no-cache bash ca-certificates curl
3838

39-
RUN npm install elasticdump@4.1.2 -g
39+
RUN npm config set unsafe-perm true \
40+
&& npm install elasticdump@4.1.2 -g
4041

4142
COPY --from=0 restic_{NEW_RESTIC_VER} /bin/restic_{NEW_RESTIC_VER}
4243
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}

Dockerfile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ FROM {ARG_FROM}
3636
RUN set -x \
3737
&& apk add --update --no-cache bash ca-certificates curl
3838

39-
RUN npm install elasticdump@4.1.2 -g
39+
RUN npm config set unsafe-perm true \
40+
&& npm install elasticdump@4.1.2 -g
4041

4142
COPY --from=0 /restic_{NEW_RESTIC_VER} /bin/restic_{NEW_RESTIC_VER}
4243
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}

hack/scripts/update-release-tracker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ parse_url() {
3535

3636
RELEASE_TRACKER=
3737

38-
while IFS=$': \t' read -r -u9 marker v; do
38+
while IFS=$': \r\t' read -r -u9 marker v; do
3939
case $marker in
4040
Release-tracker)
4141
export RELEASE_TRACKER=$v

0 commit comments

Comments
 (0)