Build Sling state during Docker image build