Skip to content

Commit

Permalink
Update Dockerfile.cicd and Dockerfile.dev with verbose flag for wget …
Browse files Browse the repository at this point in the history
…commands
  • Loading branch information
eduardolat committed Aug 10, 2024
1 parent fe593e0 commit 10ebf13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile.cicd
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ COPY --from=golang /usr/local/go /usr/local/go
ENV PATH "$PATH:/usr/local/go/bin"

# Install task
RUN wget https://github.com/go-task/task/releases/download/v3.37.2/task_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/go-task/task/releases/download/v3.37.2/task_linux_amd64.tar.gz && \
tar -xzf task_linux_amd64.tar.gz && \
mv ./task /usr/local/bin/task && \
chmod 777 /usr/local/bin/task

# Install GitHub CLI
RUN wget https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_linux_amd64.tar.gz && \
tar -xzf gh_2.52.0_linux_amd64.tar.gz && \
mv gh_2.52.0_linux_amd64/bin/gh /usr/local/bin/gh && \
chmod 777 /usr/local/bin/gh

# Install air
RUN wget https://github.com/cosmtrek/air/releases/download/v1.52.3/air_1.52.3_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/cosmtrek/air/releases/download/v1.52.3/air_1.52.3_linux_amd64.tar.gz && \
tar -xzf air_1.52.3_linux_amd64.tar.gz && \
mv ./air /usr/local/bin/air && \
chmod 777 /usr/local/bin/air

# Install golangci-lint
RUN wget --no-verbose https://github.com/golangci/golangci-lint/releases/download/v1.59.1/golangci-lint-1.59.1-linux-amd64.tar.gz && \
RUN wget --no-verbose --no-verbose https://github.com/golangci/golangci-lint/releases/download/v1.59.1/golangci-lint-1.59.1-linux-amd64.tar.gz && \
tar -xzf golangci-lint-1.59.1-linux-amd64.tar.gz && \
mv ./golangci-lint-1.59.1-linux-amd64/golangci-lint /usr/local/bin/golangci-lint && \
chmod 777 /usr/local/bin/golangci-lint
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ COPY --from=golang /usr/local/go /usr/local/go
ENV PATH "$PATH:/usr/local/go/bin"

# Install task
RUN wget https://github.com/go-task/task/releases/download/v3.37.2/task_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/go-task/task/releases/download/v3.37.2/task_linux_amd64.tar.gz && \
tar -xzf task_linux_amd64.tar.gz && \
mv ./task /usr/local/bin/task && \
chmod 777 /usr/local/bin/task

# Install GitHub CLI
RUN wget https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_linux_amd64.tar.gz && \
tar -xzf gh_2.52.0_linux_amd64.tar.gz && \
mv gh_2.52.0_linux_amd64/bin/gh /usr/local/bin/gh && \
chmod 777 /usr/local/bin/gh

# Install air
RUN wget https://github.com/cosmtrek/air/releases/download/v1.52.3/air_1.52.3_linux_amd64.tar.gz && \
RUN wget --no-verbose https://github.com/cosmtrek/air/releases/download/v1.52.3/air_1.52.3_linux_amd64.tar.gz && \
tar -xzf air_1.52.3_linux_amd64.tar.gz && \
mv ./air /usr/local/bin/air && \
chmod 777 /usr/local/bin/air

# Install golangci-lint
RUN wget --no-verbose https://github.com/golangci/golangci-lint/releases/download/v1.59.1/golangci-lint-1.59.1-linux-amd64.tar.gz && \
RUN wget --no-verbose --no-verbose https://github.com/golangci/golangci-lint/releases/download/v1.59.1/golangci-lint-1.59.1-linux-amd64.tar.gz && \
tar -xzf golangci-lint-1.59.1-linux-amd64.tar.gz && \
mv ./golangci-lint-1.59.1-linux-amd64/golangci-lint /usr/local/bin/golangci-lint && \
chmod 777 /usr/local/bin/golangci-lint
Expand Down

0 comments on commit 10ebf13

Please sign in to comment.