Skip to content

Commit

Permalink
full build for non-base images
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jul 10, 2023
1 parent fc90e97 commit 24e8313
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
5 changes: 0 additions & 5 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ variable "PLATFORMS" {
default = ["linux/amd64"]
}

function "arch2platform" {
params = [arch]
result = "linux/${arch}"
}

variable "TARGETS" {
default = ["base", "base-with-services", "lab", "full-stack"]
}
Expand Down
4 changes: 1 addition & 3 deletions stack/base-with-services/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# syntax=docker/dockerfile:1
ARG OWNER=aiidalab
ARG BASE_CONTAINER=$OWNER/base
FROM $BASE_CONTAINER
FROM base

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

Expand Down
5 changes: 2 additions & 3 deletions stack/full-stack/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# syntax=docker/dockerfile:1
ARG OWNER=aiidalab
FROM $OWNER/base-with-services as base
FROM base-with-services as base

FROM $OWNER/lab
FROM lab

USER root

Expand Down
4 changes: 1 addition & 3 deletions stack/lab/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# syntax=docker/dockerfile:1
ARG OWNER=aiidalab
ARG BASE_CONTAINER=$OWNER/base
FROM $BASE_CONTAINER
FROM base

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

Expand Down

0 comments on commit 24e8313

Please sign in to comment.