Skip to content

Commit

Permalink
Add yq to the images
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Oct 19, 2023
1 parent 4b26c7d commit 52e4d1f
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 52e4d1f

Please sign in to comment.