Skip to content

Commit

Permalink
Fix some lints = Happy CodeFactor :)
Browse files Browse the repository at this point in the history
broken_link_checker/Dockerfile
markdown_server/Dockerfile
speedtest/Dockerfile
  • Loading branch information
crazyuploader committed Sep 25, 2024
1 parent 9495ea6 commit f3f93bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion broken_link_checker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
FROM node:lts-alpine3.20

# Install Broken Link Checker
RUN npm install --location=global broken-link-checker
RUN npm install --location=global broken-link-checker@0.7.8

# Entrypoint for Broken Link Checker
ENTRYPOINT [ "blc" ]
2 changes: 1 addition & 1 deletion markdown_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN go build -o algernon . && \
mv algernon /usr/bin/algernon

# Compress Algernon binaries
RUN if [[ $(arch) == "x86_64" ]]; then apk add upx; upx /usr/bin/algernon; fi
RUN if [ $(arch) == "x86_64" ]; then apk add --no-cache upx; upx /usr/bin/algernon; fi

# Clean up /tmp directory
RUN rm -rf /tmp/*
Expand Down
4 changes: 2 additions & 2 deletions speedtest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
FROM alpine:3.20 AS builder

# Installing Dependencies
RUN apk --no-cache add wget curl jq
RUN apk --no-cache add curl jq

# Set API URL
ARG API_URL="https://api.devjugal.com/speedtest_latest"
Expand All @@ -24,7 +24,7 @@ RUN set -e && \
echo "Architecture $ARCH not supported or download link not found."; \
exit 1; \
fi && \
wget --quiet --output-document speedtest.tar.tgz "$DOWNLOAD_URL" && \
curl -sLo speedtest.tar.tgz "$DOWNLOAD_URL" && \
tar xf speedtest.tar.tgz && \
mv speedtest /usr/bin/speedtest

Expand Down

0 comments on commit f3f93bd

Please sign in to comment.