Skip to content

Commit

Permalink
fix Dockerfile for new start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 8, 2024
1 parent 5b5813d commit f9230ea
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,18 @@ RUN apt update && \
rm -rf /var/lib/apt/lists/*

COPY settings/config /config
COPY start.sh get_ioc_ips.py /

ENTRYPOINT [ "bash" ]
COPY start* get_ioc_ips.py /

##### runtime stage ##########################################################
FROM ghcr.io/epics-containers/epics-base-runtime:7.0.8ec2 as runtime

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux-x86_64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux-x86_64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux-x86_64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux-x86_64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

COPY --from=developer /venv /venv
COPY --from=developer /epics/ca-gateway /epics/ca-gateway
COPY --from=developer /epics/support/pcas /epics/support/pcas
COPY --from=developer /epics/support/pcas /epics/support/PCAS
COPY settings/config /config
COPY start.sh get_ioc_ips.py /
COPY start* get_ioc_ips.py /

RUN apt update && \
apt install -y \
python3-distutils && \
rm -rf /var/lib/apt/lists/*

# ENTRYPOINT [ "bash" ]

0 comments on commit f9230ea

Please sign in to comment.