Skip to content

Commit

Permalink
oops doubled up
Browse files Browse the repository at this point in the history
  • Loading branch information
Amateur-God committed Jun 28, 2024
1 parent 1d88728 commit c36f18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/adb_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Download and build TTYD
RUN sudo apt-get update && \\
RUN sudo apt-get update && \

Check failure on line 11 in addons/adb_server/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint (addons/adb_server)

DL3004 error: Do not use sudo as it leads to unpredictable behavior. Use a tool like gosu to enforce root
sudo apt-get install -y build-essential cmake git libjson-c-dev libwebsockets-dev
RUN git clone https://github.com/tsl0922/ttyd.git

Check failure on line 13 in addons/adb_server/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint (addons/adb_server)

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
RUN cd ttyd && mkdir build && cd build

Check failure on line 14 in addons/adb_server/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint (addons/adb_server)

DL3003 warning: Use WORKDIR to switch to a directory

Check failure on line 14 in addons/adb_server/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint (addons/adb_server)

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

Check failure on line 14 in addons/adb_server/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint (addons/adb_server)

SC2164 warning: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Expand Down

0 comments on commit c36f18f

Please sign in to comment.