-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from codecrafters-io/CC-1064
build: update dockerfiles to fix hadolint issues.
- Loading branch information
Showing
6 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM gcc:12.2.0-bullseye | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y cmake | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y cmake=3.18.* && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM ruby:2.7-alpine | ||
|
||
RUN apk add --update-cache --upgrade curl | ||
RUN apk add --update-cache --upgrade curl-dev | ||
RUN apk add --no-cache --upgrade 'curl>=7.66' | ||
RUN apk add --no-cache --upgrade 'curl-dev>=7.66' | ||
|
||
WORKDIR /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM ruby:3.2-alpine | ||
|
||
RUN apk add --update-cache --upgrade curl | ||
RUN apk add --update-cache --upgrade curl-dev | ||
RUN apk add --no-cache --upgrade 'curl>=7.66' | ||
RUN apk add --no-cache --upgrade 'curl-dev>=7.66' | ||
|
||
WORKDIR /app |