Skip to content

Commit

Permalink
change deprecated ENV format
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Oct 22, 2024
1 parent f6c02a6 commit 6f9a995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARG BASE_IMAGE_RELEASE=22.04
# deb files will be located in /root/packages/$(uname -m) directory
# patched with openbox.title.patch for abcdesktop
FROM ${BASE_IMAGE}:${BASE_IMAGE_RELEASE} as openbox_ubuntu_builder

Check warning on line 21 in Dockerfile.ubuntu

View workflow job for this annotation

GitHub Actions / build_matrix (ubuntu)

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 21 in Dockerfile.ubuntu

View workflow job for this annotation

GitHub Actions / build_matrix (ubuntu)

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 21 in Dockerfile.ubuntu

View workflow job for this annotation

GitHub Actions / build_matrix (hardening)

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 21 in Dockerfile.ubuntu

View workflow job for this annotation

GitHub Actions / build_matrix (hardening)

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/
ENV DEBEMAIL [email protected]
ENV DEBEMAIL=[email protected]
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
RUN cat /etc/apt/sources.list
Expand Down Expand Up @@ -266,7 +266,7 @@ RUN if [ "${TARGET_MODE}" = "hardening" ] ; then rm -f /etc/supervisor/conf.d/xt
# this is the default user if no user defined
# create group, user, set password
# fix home dir owner
ENV BUSER balloon
ENV BUSER=balloon
RUN groupadd --gid 4096 $BUSER && \
useradd --create-home --shell /bin/bash --uid 4096 -g $BUSER $BUSER && \
echo "balloon:lmdpocpetit" | chpasswd $BUSER &&\
Expand Down

0 comments on commit 6f9a995

Please sign in to comment.