Skip to content

Commit

Permalink
fix: update before install and update openjdk
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 31, 2021
1 parent 10e7db6 commit 6aa96bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:16-slim-buster
FROM openjdk:16.0.2-slim-buster

RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates ssh bash

Expand Down Expand Up @@ -52,6 +52,7 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"

RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && apt-get install -y nodejs
# the following is a workaround for openjdk-11-jre-headless erroring due to not having a man path in slim-debian
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends python3 python3-dev python3-pip ruby jq gnupg git gettext libffi6 libffi-dev libssl-dev php composer php-curl php7.3-tokenizer php-dom php-xml php-simplexml php-xmlwriter maven
# RUN apk add -U --no-cache ca-certificates bash nodejs npm python3 python3-dev py-pip ruby jq build-base gnupg git openssh curl gettext libffi libffi-dev openssl-dev php composer php-curl php7-tokenizer wget php-dom php-xml php-simplexml php-xmlwriter maven

Expand Down

0 comments on commit 6aa96bf

Please sign in to comment.