Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it running on Fedora #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.baseline
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM fedora

COPY jdk /jdk

Expand Down
18 changes: 8 additions & 10 deletions Dockerfile.checkpoint
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM ubuntu:18.04 as builder
FROM fedora as builder

RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install liblz4-tool && \
apt clean && \
rm -rf /var/lib/apt /var/cache/apt
RUN dnf -y update && \
dnf -y install lz4 && \
dnf clean all

COPY jdk /jdk

Expand All @@ -13,12 +12,11 @@ RUN LIBJVM=/jdk/lib/server/libjvm.so; \
ln -s /tmp/sub/$LIBJVM $LIBJVM


FROM ubuntu:18.04
FROM fedora

RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install liblz4-tool && \
apt clean && \
rm -rf /var/lib/apt /var/cache/apt
RUN dnf -y update && \
dnf -y install lz4 && \
dnf clean all

COPY --from=builder /jdk /jdk
COPY prepare-jdk.cmd.sh /
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile.restore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM ubuntu:18.04 as builder
FROM fedora as builder

RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install liblz4-tool && \
apt clean && \
rm -rf /var/lib/apt /var/cache/apt
RUN dnf -y update && \
dnf -y install lz4 && \
dnf clean all

COPY cr /cr
RUN tar -c /cr | lz4 -z -9 - /cr.tar.lz4
Expand Down