-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sql-import-drop
- Loading branch information
Showing
21 changed files
with
250 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,6 +146,51 @@ services: | |
owner: "nginx:nginx" | ||
permissions: "775" | ||
|
||
# buildkit features | ||
buildkit: | ||
api: 4 | ||
type: l337 | ||
image: | ||
buildkit: true | ||
ssh: true | ||
imagefile: | | ||
# syntax=docker/dockerfile:1.7 | ||
ARG VERSION=bookworm | ||
FROM alpine AS build-env | ||
WORKDIR /app | ||
RUN touch /app/me | ||
FROM debian:$VERSION | ||
ARG VERSION | ||
RUN echo $VERSION > image_version | ||
RUN <<EOF | ||
apt-get update | ||
apt-get install -y curl git | ||
EOF | ||
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
RUN --mount=type=ssh,id=keys git clone [email protected]:lando/lando.git /tmp/lando | ||
RUN --mount=type=ssh,id=agent git clone [email protected]:lando/lando.git /tmp/more-lando | ||
# these are not universally supported yet | ||
# ADD --keep-git-dir=true https://github.com/moby/buildkit.git#v0.10.1 /buildkit | ||
# ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz /tmp | ||
COPY * /tmp | ||
COPY --from=build-env /app /app2 | ||
COPY --chown=55:mygroup file* /tmp/files | ||
COPY --chown=bin file* /tmp/files2 | ||
COPY --chown=1 file* /tmp/files3 | ||
COPY --chown=10:11 file* /tmp/files3 | ||
COPY --chown=myuser:mygroup --chmod=644 file* /tmp/files4 | ||
CMD sleep infinity | ||
context: | ||
- source: "file1" | ||
destination: "/file7" | ||
owner: "nginx:nginx" | ||
permissions: "775" | ||
|
||
# build-arg features | ||
build-args-1: | ||
api: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.