Skip to content

Commit

Permalink
Merge pull request #49 from Chia-Network/add-yq
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Oct 19, 2023
2 parents 4b26c7d + 52e4d1f commit 410db62
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# So we can copy yq into our container later
FROM mikefarah/yq:4 AS yq

FROM ubuntu:18.04

ENV PYENV_ROOT=/root/.pyenv
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"

COPY --from=yq /usr/bin/yq /usr/bin/yq

RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
apt-utils \
Expand Down
5 changes: 5 additions & 0 deletions ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# So we can copy yq into our container later
FROM mikefarah/yq:4 AS yq

FROM ubuntu:20.04

ENV PYENV_ROOT=/root/.pyenv
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
ENV LD_LIBRARY_PATH="/usr/lib"

COPY --from=yq /usr/bin/yq /usr/bin/yq

RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
apt-utils \
Expand Down
5 changes: 5 additions & 0 deletions ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# So we can copy yq into our container later
FROM mikefarah/yq:4 AS yq

FROM ubuntu:22.04

ENV PYENV_ROOT=/root/.pyenv
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
ENV LD_LIBRARY_PATH="/usr/lib"

COPY --from=yq /usr/bin/yq /usr/bin/yq

RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
apt-utils \
Expand Down

0 comments on commit 410db62

Please sign in to comment.