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
|
||||
# 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
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl git make rsync \
|
||||
&& 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 -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 \
|
||||
&& cd hound \
|
||||
&& 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/houndd /usr/local/bin
|
||||
|
@ -2,7 +2,7 @@
|
||||
- job:
|
||||
name: system-config-build-image-hound
|
||||
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
|
||||
parent: system-config-build-image
|
||||
vars: &hound_vars
|
||||
@ -15,7 +15,7 @@
|
||||
- job:
|
||||
name: system-config-upload-image-hound
|
||||
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
|
||||
parent: system-config-upload-image
|
||||
vars: *hound_vars
|
||||
|
Loading…
Reference in New Issue
Block a user