Skip to content

Commit

Permalink
(maint) Switch PDB container off of Alpine
Browse files Browse the repository at this point in the history
 - Alpine seems to still be having issues with DNS resolutions inside
   an LCOW environment. In an effort to reduce these transient
   problems, switch the base container to a non-Alpine platform.

   A ticket has been filed with a repro at :

   moby/libnetwork#2371

 - While this may increase the image size a bit, the goal here is
   reliability and robustness

 - Ubuntu 18.04 shares a lineage with debian buster, which should
   be a well supported platform for PDB
  • Loading branch information
Iristyle committed Aug 13, 2019
1 parent 15a6919 commit 2da56aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/puppetdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM clojure:lein-alpine AS builder
FROM clojure:openjdk-8-lein AS builder
RUN apk add --no-cache make
# Install only dependencies
WORKDIR /app
Expand All @@ -11,7 +11,7 @@ COPY . /app
RUN lein with-profile uberjar uberjar


FROM openjdk:8-jre-alpine
FROM openjdk:8-jre-stretch
RUN apk add --no-cache tini curl openssl bind-tools
COPY --from=builder /app/target/puppetdb.jar /

Expand Down

0 comments on commit 2da56aa

Please sign in to comment.