Update hound image to bookworm
Change-Id: I51b8630b27149aa96c63d13d6fae240c5c81cd96
This commit is contained in:
parent
1b64bb2e31
commit
55abbf33bf
@ -13,22 +13,22 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM docker.io/library/golang:1.19-bullseye AS builder
|
FROM docker.io/library/golang:1.19-bookworm AS builder
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y curl git make rsync \
|
&& apt-get install -y curl git make rsync \
|
||||||
&& curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
|
&& curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
|
||||||
&& echo "deb https://deb.nodesource.com/node_16.x bullseye main" | tee /etc/apt/sources.list.d/nodesource.list \
|
&& echo "deb https://deb.nodesource.com/node_16.x bookworm main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get -q --option "Dpkg::Options::=--force-confold" --assume-yes install nodejs
|
&& apt-get -q --option "Dpkg::Options::=--force-confold" --assume-yes install nodejs npm
|
||||||
|
|
||||||
RUN git clone https://github.com/hound-search/hound \
|
RUN git clone https://github.com/hound-search/hound \
|
||||||
&& cd hound \
|
&& cd hound \
|
||||||
&& make
|
&& make
|
||||||
|
|
||||||
FROM docker.io/opendevorg/python-base:3.11-bullseye
|
FROM docker.io/opendevorg/python-base:3.11-bookworm
|
||||||
|
|
||||||
COPY --from=builder /tmp/hound/.build/bin/hound /usr/local/bin
|
COPY --from=builder /tmp/hound/.build/bin/hound /usr/local/bin
|
||||||
COPY --from=builder /tmp/hound/.build/bin/houndd /usr/local/bin
|
COPY --from=builder /tmp/hound/.build/bin/houndd /usr/local/bin
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-hound
|
name: system-config-build-image-hound
|
||||||
description: Build a hound image.
|
description: Build a hound image.
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bookworm-container-image
|
||||||
provides: hound-container-image
|
provides: hound-container-image
|
||||||
parent: system-config-build-image
|
parent: system-config-build-image
|
||||||
vars: &hound_vars
|
vars: &hound_vars
|
||||||
@ -15,7 +15,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-upload-image-hound
|
name: system-config-upload-image-hound
|
||||||
description: Build and upload a hound image.
|
description: Build and upload a hound image.
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bookworm-container-image
|
||||||
provides: hound-container-image
|
provides: hound-container-image
|
||||||
parent: system-config-upload-image
|
parent: system-config-upload-image
|
||||||
vars: *hound_vars
|
vars: *hound_vars
|
||||||
|
Loading…
x
Reference in New Issue
Block a user