Skip to content

Commit

Permalink
fix: don't default the image
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 4, 2024
1 parent dd30416 commit db1241a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG IMAGE=ghcr.io/ucsd-e4e/fishsense-lite:base-cpu
ARG IMAGE=ghcr.io/ucsd-e4e/fishsense-lite:mid-cpu
FROM $IMAGE

RUN echo 'ubuntu ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG IMAGE=ubuntu:24.04
ARG IMAGE=
FROM $IMAGE

Check warning on line 2 in docker/Dockerfile.base

View workflow job for this annotation

GitHub Actions / build-cuda

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

SHELL ["/bin/bash", "-c"]
Expand Down

0 comments on commit db1241a

Please sign in to comment.