pin velero version

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2022-11-11 21:35:30 +08:00
parent 180366bc01
commit 4e471977a7
7 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.18 as builder-env
FROM --platform=$BUILDPLATFORM golang:1.18.8 as builder-env
ARG GOPROXY
ARG PKG
@@ -48,7 +48,7 @@ RUN mkdir -p /output/usr/bin && \
go build -o /output/${BIN} \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
FROM gcr.io/distroless/base-debian11:nonroot
FROM gcr.io/distroless/base-debian11@sha256:4b22ca3c68018333c56f8dddcf1f8b55f32889f2dd12d28ab60856eba1130d04
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"