2022-10-04 22:28:04 +02:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
|
|
Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility
Bumps the Factorio engine pin and typed-factorio (1.11.0 -> 3.36.0,
targeting 2.0.75) and fixes the resulting breaking API changes:
global -> storage, game.*_prototypes -> prototypes.*, game.table_to_json/
encode_string -> helpers.*, OnBuiltEntityEvent.created_entity -> .entity,
removed TileRead/ColorTable/MapPositionTable-style write-form aliases,
new CollisionMask shape, restructured settings-stage type imports, and
new defines.entity_status values (added to the Status enum, generated
schema, and EntityStatusRecord mapping). Also declares optional mod
dependencies on space-exploration and Krastorio2.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-12 15:06:30 +02:00
|
|
|
ARG factorioVersion=2.0.77
|
2021-10-25 23:23:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
FROM factoriotools/factorio:$factorioVersion
|
|
|
|
|
|
2021-12-02 00:54:15 +01:00
|
|
|
# In progress
|
|
|
|
|
# The intention is to remove kafka-pipe and have a
|
|
|
|
|
# pre-preared Factorio Docker container than can
|
|
|
|
|
# just run, without needing an additional
|
|
|
|
|
# container with kcat.
|
2021-10-25 23:23:55 +02:00
|
|
|
|
|
|
|
|
#RUN apk add --update \
|
|
|
|
|
# curl \
|
|
|
|
|
# kafkacat \
|
|
|
|
|
# ;
|
|
|
|
|
|
|
|
|
|
ENV KCAT_CONFIG="/kcat.conf"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
|
kafkacat \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
WORKDIR /
|
|
|
|
|
COPY kafka-pipe.sh kafka-pipe.sh
|