forked from secureCodeBox/secureCodeBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsdk.mk
More file actions
32 lines (28 loc) · 753 Bytes
/
sdk.mk
File metadata and controls
32 lines (28 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f
#
# SPDX-FileCopyrightText: 2021 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
#
# This Makefile is intended to be used for developement and testing only.
# For using this scanner/hook in production please use the helm chart.
# See: <https://docs.securecodebox.io/docs/getting-started/installation>
#
# This Makefile expects some additional software to be installed:
# - git
# - node + npm
# - docker
# - kind
# - kubectl
# - helm
# - yq
name = ${sdk}
module = ${sdk}
include ../../common.mk
docker-build-sdk:
@echo ".: ⚙️ Build '$(name)'."
docker build -t $(IMG_NS)/$(name)-nodejs:$(IMG_TAG) .
docker-export-sdk:
@echo ".: ⚙️ Build '$(name)'."
docker save $(IMG_NS)/$(name)-nodejs:$(IMG_TAG) -o $(name).tar