chore: add syntax parser directive to Dockerfile (#1271)

This commit is contained in:
マルコメ 2025-03-16 11:28:32 +09:00 committed by GitHub
parent 968d5ad72f
commit 59b284ed6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# Using cargo-chef to manage Rust build cache effectively
FROM lukemathwalker/cargo-chef:latest-rust-1.81 as chef

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# User should build from parent directory
FROM lukemathwalker/cargo-chef:latest-rust-1.81 as chef

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
FROM golang as base
WORKDIR /go/src/supabase
RUN git clone https://github.com/supabase/auth.git --depth 1 --branch v2.159.1

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
FROM node:20.12.0 AS builder
WORKDIR /app

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
# Using cargo-chef to manage Rust build cache effectively
FROM lukemathwalker/cargo-chef:latest-rust-1.81 as chef

View file

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
FROM lukemathwalker/cargo-chef:latest-rust-1.81 as chef
# Set the initial working directory