Skip to content

Commit

Permalink
dockerfile:bugfix - updating dockerfiles docker base image (#989)
Browse files Browse the repository at this point in the history
Docker in docker 20.10-git contains some outdated dependencies with
vulnerabilities, this pull request contains a new build image
with fixes for this issues.

Signed-off-by: Nathan Martins <nathan.martins@zup.com.br>
(cherry picked from commit 6e4d0c1)
  • Loading branch information
nathanmartinszup committed Feb 14, 2022
1 parent a5661ca commit 815c7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions deployments/Dockerfile-gorelease-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM docker:20.10-dind

RUN apk add git --no-cache
FROM horuszup/docker-amd64:20.10-git

COPY /horusec_linux_amd64 /usr/local/bin/horusec

Expand Down
4 changes: 1 addition & 3 deletions deployments/Dockerfile-gorelease-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM docker:20.10-dind

RUN apk add git --no-cache
FROM horuszup/docker-arm64:20.10-git

COPY /horusec_linux_arm64 /usr/local/bin/horusec

Expand Down

0 comments on commit 815c7fb

Please sign in to comment.