Skip to content

Commit

Permalink
Merge pull request #45 from csync/laik/fix-apt-update
Browse files Browse the repository at this point in the history
Fix apt-update breaking on postgres-common package. Holding postgres-common back for now
  • Loading branch information
boopt2 authored Feb 9, 2017
2 parents 2295f12 + cf5b360 commit eb7b366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ lazy val server = (project in file("."))
Cmd("RUN", "sed -i.foo 's/.*PASS_MAX_DAYS.*$/PASS_MAX_DAYS 90/' /etc/login.defs"),
Cmd("RUN", "echo 'password requisite pam_cracklib.so retry=3 minlen=8' >> /etc/pam.d/common-password"),
Cmd("RUN", "sed -i.foo 's/.*PASS_MIN_DAYS.*$/PASS_MIN_DAYS 1/' /etc/login.defs"),
Cmd("RUN", "apt-key update && apt-get update && apt-get -y install apt-utils && apt-get -y upgrade && apt-get clean && rm -rf /var/lib/apt/lists/*"),
Cmd("RUN", "apt-mark hold postgresql-common && apt-key update && apt-get update && apt-get -y install apt-utils && apt-get -y upgrade && apt-get clean && rm -rf /var/lib/apt/lists/*"),
ExecCmd("ENTRYPOINT", "/csync.sh")))

lazy val vertx = project.dependsOn(core)
Expand Down

0 comments on commit eb7b366

Please sign in to comment.