1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-19 01:17:04 +00:00

Security bumps and remove unsued Dockerfile

Signed-off-by: Guilherme Macedo <guilherme@gmacedo.com>
This commit is contained in:
Guilherme Macedo
2023-08-09 13:49:20 -03:00
parent 96b95e3475
commit 5446507fd0
5 changed files with 21 additions and 49 deletions

View File

@@ -5,4 +5,3 @@ cd $(dirname $0)
./build
./validate
./package

View File

@@ -1,24 +0,0 @@
#!/bin/bash
set -e
source $(dirname $0)/version
ARCH=${ARCH:-"amd64"}
SUFFIX=""
[ "${ARCH}" != "amd64" ] && SUFFIX="_${ARCH}"
cd $(dirname $0)/../package
TAG=${TAG:-${VERSION}${SUFFIX}}
REPO=${REPO:-rancher}
if echo $TAG | grep -q dirty; then
TAG=dev
fi
cp ../bin/norman .
IMAGE=${REPO}/norman:${TAG}
docker build -t ${IMAGE} .
echo ${IMAGE} > ../dist/images
echo Built ${IMAGE}