-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (23 loc) · 990 Bytes
/
Makefile
File metadata and controls
23 lines (23 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CONT=alpine-eccodes
TAG = ${CONT}
all:
docker build -t ${CONT} .
pod:
podman build --tag ${CONT} -f Dockerfile
help:
podman run ${CONT} grib_ls
ash:
docker run --net=host -ti ${CONT} ash
test:
-docker run --net=host -ti ${CONT} bufr_ls --help
-docker run --net=host -ti ${CONT} codes_info
-docker run --net=host -ti ${CONT} grib_ls --help
-docker run --net=host -ti ${CONT} gts_ls --help
-docker run --net=host -ti ${CONT} metar_ls --help
-docker run --net=host -ti ${CONT} ls /usr/local/bin -ltr
slim:
slim build --target ${CONT}:latest --tag ${CONT}:light --http-probe=false --exec "grib_copy --help; grib_dump --help; grib_get --help; grib_histogram --help; grib_ls --help; grib_set --help; grib_compare --help; grib_count --help; grib_filter --help; grib_get_data --help; grib_index_build --help; grib_merge --help; bufr-ls --help; codes_info --help; git-ls --help; metar_ls --help; "
deploy:
docker login
docker tag ${TAG} eowyn/${TAG}:latest
docker push eowyn/${TAG}