This commit is contained in:
0xmuralik 2023-03-13 15:39:26 +05:30
parent 810ac5abb7
commit e5a3b065e4
3 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,8 @@ ENV PACKAGES git build-base
WORKDIR /go/src/github.com/cerc-io/laconicd WORKDIR /go/src/github.com/cerc-io/laconicd
# Install dependencies # Install dependencies
RUN apk add --update $PACKAGES RUN apk add --no-cache $PACKAGES
RUN apk add linux-headers RUN apk add linux-headers
# Add source files # Add source files
@ -20,7 +21,7 @@ RUN make build
FROM alpine:3.17.1 FROM alpine:3.17.1
# Install ca-certificates # Install ca-certificates
RUN apk add --update ca-certificates jq curl RUN apk add --no-cache ca-certificates jq curl
WORKDIR / WORKDIR /
# Copy over binaries from the build-env # Copy over binaries from the build-env

View File

@ -3048,7 +3048,7 @@
}) })
}, t.getCommonExtensions = function(e) { }, t.getCommonExtensions = function(e) {
return e.filter(function(e, t) { return e.filter(function(e, t) {
return /^pattern$|^maxLength$|^minLength$|^maximum$|^minimum$/.test(t) return /^pattern|maxLength|minLength|maximum|minimum/.test(t)
}) })
} }
}).call(t, n(54).Buffer) }).call(t, n(54).Buffer)