Skip to content

TS templates: Consider using ARG BASE_IMAGE to replace hardcoded base image values #781

Description

@metalwarrior665

New Apify engineers often mistakenly update only one base image. That can lead to tricky problems because the code might install and compile, but later lead to cryptic errors because of version mismatches. We can make this harder to mess up.

ARG BASE_IMAGE="apify/actor-node:24"

then replace to

FROM ${BASE_IMAGE} AS builder
FROM ${BASE_IMAGE}

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-dxIssues owned by the DX team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions