Skip to content

Provide an Alpine image #753

@bquenin

Description

@bquenin

It would be great to publish an image based on Alpine in addition to the existing image.

You would only need to duplicate your existing Dockerfile and replace the FROM as follows FROM golang:alpine AS builder

If we have this Alpine image, it would be then very easy to include sqlc as part of a containerized build process such as:

# sqlc
# ---
FROM kyleconroy/sqlc:alpine AS sqlc

# ---
FROM golang:1.15.3-alpine3.12 AS builder
RUN apk --no-cache add make git curl
WORKDIR /build
COPY . .

COPY --from=sqlc /bin/sqlc /bin/sqlc
RUN make build

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions