Skip to content

Commit 24e8313

Browse files
committed
full build for non-base images
1 parent fc90e97 commit 24e8313

File tree

4 files changed

+4
-14
lines changed

4 files changed

+4
-14
lines changed

docker-bake.hcl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ variable "PLATFORMS" {
3333
default = ["linux/amd64"]
3434
}
3535

36-
function "arch2platform" {
37-
params = [arch]
38-
result = "linux/${arch}"
39-
}
40-
4136
variable "TARGETS" {
4237
default = ["base", "base-with-services", "lab", "full-stack"]
4338
}

stack/base-with-services/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
ARG OWNER=aiidalab
3-
ARG BASE_CONTAINER=$OWNER/base
4-
FROM $BASE_CONTAINER
2+
FROM base
53

64
LABEL maintainer="AiiDAlab Team <[email protected]>"
75

stack/full-stack/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# syntax=docker/dockerfile:1
2-
ARG OWNER=aiidalab
3-
FROM $OWNER/base-with-services as base
2+
FROM base-with-services as base
43

5-
FROM $OWNER/lab
4+
FROM lab
65

76
USER root
87

stack/lab/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
ARG OWNER=aiidalab
3-
ARG BASE_CONTAINER=$OWNER/base
4-
FROM $BASE_CONTAINER
2+
FROM base
53

64
LABEL maintainer="AiiDAlab Team <[email protected]>"
75

0 commit comments

Comments
 (0)